home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / GOSTNAME.XSL < prev    next >
Extensible Markup Language  |  2006-09-17  |  248KB  |  6,784 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3.  
  4.  
  5.  
  6.  
  7. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"    xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:t="http://www.microsoft.com/temp">
  8.     <xsl:output method="html" encoding="us-ascii"/>
  9.  
  10.  
  11.     
  12.     <xsl:template match="*" mode="outputHtml2">
  13.             <xsl:apply-templates mode="outputHtml"/>        
  14.     </xsl:template>
  15.  
  16.     <xsl:template name="StringFormatDot">
  17.         <xsl:param name="format" />
  18.         <xsl:param name="parameters" />
  19.  
  20.     <xsl:variable name="prop_EndChars">
  21.       <xsl:call-template name="templ_prop_EndChars"/>
  22.     </xsl:variable>
  23.  
  24.     <xsl:choose>
  25.             <xsl:when test="$format = ''"></xsl:when>
  26.             <xsl:when test="substring($format, 1, 2) = '%%'">
  27.                 <xsl:text>%</xsl:text>
  28.                 <xsl:call-template name="StringFormatDot">
  29.                     <xsl:with-param name="format" select="substring($format, 3)" />
  30.                     <xsl:with-param name="parameters" select="$parameters" />
  31.                 </xsl:call-template>
  32.                 <xsl:if test="string-length($format)=2">
  33.                     <xsl:call-template name="templ_prop_Dot"/>
  34.                 </xsl:if>
  35.             </xsl:when>
  36.             <xsl:when test="substring($format, 1, 1) = '%'">
  37.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  38.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  39.                 <xsl:call-template name="StringFormatDot">
  40.                     <xsl:with-param name="format" select="substring($format, 3)" />
  41.                     <xsl:with-param name="parameters" select="$parameters" />
  42.                 </xsl:call-template>
  43.                 <xsl:if test="string-length($format)=2">
  44.                     <xsl:variable name="temp2">
  45.                         <xsl:call-template name="handleSpaces">
  46.                             <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  47.                         </xsl:call-template>
  48.                     </xsl:variable>                
  49.                     <xsl:variable name="lastChar">
  50.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  51.                     </xsl:variable>
  52.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  53.                         <xsl:call-template name="templ_prop_Dot"/>
  54.                     </xsl:if>
  55.                 </xsl:if>
  56.             </xsl:when>
  57.             <xsl:otherwise>
  58.                 <xsl:value-of select="substring($format, 1, 1)" />
  59.                 <xsl:call-template name="StringFormatDot">
  60.                     <xsl:with-param name="format" select="substring($format, 2)" />
  61.                     <xsl:with-param name="parameters" select="$parameters" />
  62.                 </xsl:call-template>
  63.                 <xsl:if test="string-length($format)=1">
  64.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  65.                         <xsl:call-template name="templ_prop_Dot"/>
  66.                     </xsl:if>
  67.                 </xsl:if>
  68.             </xsl:otherwise>
  69.         </xsl:choose>
  70.     </xsl:template>    
  71.  
  72.     <xsl:template name="StringFormat">
  73.         <xsl:param name="format" />
  74.         <xsl:param name="parameters" />
  75.         <xsl:choose>
  76.             <xsl:when test="$format = ''"></xsl:when>
  77.             <xsl:when test="substring($format, 1, 2) = '%%'">
  78.                 <xsl:text>%</xsl:text>
  79.                 <xsl:call-template name="StringFormat">
  80.                     <xsl:with-param name="format" select="substring($format, 3)" />
  81.                     <xsl:with-param name="parameters" select="$parameters" />
  82.                 </xsl:call-template>
  83.             </xsl:when>
  84.             <xsl:when test="substring($format, 1, 1) = '%'">
  85.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  86.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  87.                 <xsl:call-template name="StringFormat">
  88.                     <xsl:with-param name="format" select="substring($format, 3)" />
  89.                     <xsl:with-param name="parameters" select="$parameters" />
  90.                 </xsl:call-template>
  91.             </xsl:when>
  92.             <xsl:otherwise>
  93.                 <xsl:value-of select="substring($format, 1, 1)" />
  94.                 <xsl:call-template name="StringFormat">
  95.                     <xsl:with-param name="format" select="substring($format, 2)" />
  96.                     <xsl:with-param name="parameters" select="$parameters" />
  97.                 </xsl:call-template>
  98.             </xsl:otherwise>
  99.         </xsl:choose>
  100.     </xsl:template>
  101.  
  102.  
  103.  
  104.  
  105.   <xsl:template name="localLCID">
  106.     <xsl:param name="LCID"/>
  107.  
  108.     <xsl:variable name="_LCID1">
  109.       <xsl:choose>
  110.         <xsl:when test="$LCID!='0' and $LCID!=''">
  111.           <xsl:value-of select="$LCID"/>
  112.         </xsl:when>
  113.         <xsl:when test="/b:Citation">
  114.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  115.         </xsl:when>
  116.         <xsl:when test="b:LCID">
  117.           <xsl:value-of select="b:LCID"/>
  118.         </xsl:when>
  119.         <xsl:when test="../b:LCID">
  120.           <xsl:value-of select="../b:LCID"/>
  121.         </xsl:when>
  122.         <xsl:when test="../../b:LCID">
  123.           <xsl:value-of select="../../b:LCID"/>
  124.         </xsl:when>
  125.         <xsl:when test="../../../b:LCID">
  126.           <xsl:value-of select="../../../b:LCID"/>
  127.         </xsl:when>
  128.         <xsl:when test="../../../../b:LCID">
  129.           <xsl:value-of select="../../../../b:LCID"/>
  130.         </xsl:when>
  131.         <xsl:when test="../../../../b:LCID">
  132.           <xsl:value-of select="../../../../b:LCID"/>
  133.         </xsl:when>
  134.         <xsl:when test="../../../../../b:LCID">
  135.           <xsl:value-of select="../../../../../b:LCID"/>
  136.         </xsl:when>
  137.         <xsl:otherwise>
  138.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  139.         </xsl:otherwise>
  140.       </xsl:choose>
  141.     </xsl:variable>
  142.  
  143.     <xsl:choose>
  144.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  145.         <xsl:value-of select="$_LCID1"/>
  146.       </xsl:when>
  147.       <xsl:otherwise>
  148.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  149.       </xsl:otherwise>
  150.     </xsl:choose>
  151.  
  152.   </xsl:template>
  153.  
  154.   
  155.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  156.     <xsl:param name="LCID" />
  157.     <xsl:variable name="_LCID">
  158.       <xsl:call-template name="localLCID">
  159.         <xsl:with-param name="LCID" select="$LCID"/>
  160.       </xsl:call-template>
  161.     </xsl:variable>
  162.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  163.   </xsl:template>
  164.  
  165.   
  166.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  167.     <xsl:param name="LCID" />
  168.     <xsl:variable name="_LCID">
  169.       <xsl:call-template name="localLCID">
  170.         <xsl:with-param name="LCID" select="$LCID"/>
  171.       </xsl:call-template>
  172.     </xsl:variable>
  173.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  174.   </xsl:template>
  175.  
  176.   
  177.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  178.     <xsl:param name="LCID" />
  179.     <xsl:variable name="_LCID">
  180.       <xsl:call-template name="localLCID">
  181.         <xsl:with-param name="LCID" select="$LCID"/>
  182.       </xsl:call-template>
  183.     </xsl:variable>
  184.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  185.   </xsl:template>
  186.  
  187.   
  188.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  189.     <xsl:param name="LCID" />
  190.     <xsl:variable name="_LCID">
  191.       <xsl:call-template name="localLCID">
  192.         <xsl:with-param name="LCID" select="$LCID"/>
  193.       </xsl:call-template>
  194.     </xsl:variable>
  195.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  196.   </xsl:template>
  197.  
  198.   
  199.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  200.     <xsl:param name="LCID" />
  201.     <xsl:variable name="_LCID">
  202.       <xsl:call-template name="localLCID">
  203.         <xsl:with-param name="LCID" select="$LCID"/>
  204.       </xsl:call-template>
  205.     </xsl:variable>
  206.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  207.   </xsl:template>
  208.  
  209.   
  210.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  211.     <xsl:param name="LCID" />
  212.     <xsl:variable name="_LCID">
  213.       <xsl:call-template name="localLCID">
  214.         <xsl:with-param name="LCID" select="$LCID"/>
  215.       </xsl:call-template>
  216.     </xsl:variable>
  217.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  218.   </xsl:template>
  219.  
  220.   
  221.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  222.     <xsl:param name="LCID" />
  223.     <xsl:variable name="_LCID">
  224.       <xsl:call-template name="localLCID">
  225.         <xsl:with-param name="LCID" select="$LCID"/>
  226.       </xsl:call-template>
  227.     </xsl:variable>
  228.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  229.   </xsl:template>
  230.  
  231.   
  232.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  233.     <xsl:param name="LCID" />
  234.     <xsl:variable name="_LCID">
  235.       <xsl:call-template name="localLCID">
  236.         <xsl:with-param name="LCID" select="$LCID"/>
  237.       </xsl:call-template>
  238.     </xsl:variable>
  239.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  240.   </xsl:template>
  241.  
  242.   
  243.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  244.     <xsl:param name="LCID" />
  245.     <xsl:variable name="_LCID">
  246.       <xsl:call-template name="localLCID">
  247.         <xsl:with-param name="LCID" select="$LCID"/>
  248.       </xsl:call-template>
  249.     </xsl:variable>
  250.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  251.   </xsl:template>
  252.  
  253.   
  254.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  255.     <xsl:param name="LCID" />
  256.     <xsl:variable name="_LCID">
  257.       <xsl:call-template name="localLCID">
  258.         <xsl:with-param name="LCID" select="$LCID"/>
  259.       </xsl:call-template>
  260.     </xsl:variable>
  261.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  262.   </xsl:template>
  263.  
  264.   
  265.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  266.     <xsl:param name="LCID" />
  267.     <xsl:variable name="_LCID">
  268.       <xsl:call-template name="localLCID">
  269.         <xsl:with-param name="LCID" select="$LCID"/>
  270.       </xsl:call-template>
  271.     </xsl:variable>
  272.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  273.   </xsl:template>
  274.  
  275.   
  276.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  277.     <xsl:param name="LCID" />
  278.     <xsl:variable name="_LCID">
  279.       <xsl:call-template name="localLCID">
  280.         <xsl:with-param name="LCID" select="$LCID"/>
  281.       </xsl:call-template>
  282.     </xsl:variable>
  283.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  284.   </xsl:template>
  285.  
  286.   
  287.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  288.     <xsl:param name="LCID" />
  289.     <xsl:variable name="_LCID">
  290.       <xsl:call-template name="localLCID">
  291.         <xsl:with-param name="LCID" select="$LCID"/>
  292.       </xsl:call-template>
  293.     </xsl:variable>
  294.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  295.   </xsl:template>
  296.  
  297.   
  298.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  299.     <xsl:param name="LCID" />
  300.     <xsl:variable name="_LCID">
  301.       <xsl:call-template name="localLCID">
  302.         <xsl:with-param name="LCID" select="$LCID"/>
  303.       </xsl:call-template>
  304.     </xsl:variable>
  305.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  306.   </xsl:template>
  307.  
  308.   
  309.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  310.     <xsl:param name="LCID" />
  311.     <xsl:variable name="_LCID">
  312.       <xsl:call-template name="localLCID">
  313.         <xsl:with-param name="LCID" select="$LCID"/>
  314.       </xsl:call-template>
  315.     </xsl:variable>
  316.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  317.   </xsl:template>
  318.  
  319.   
  320.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  321.     <xsl:param name="LCID" />
  322.     <xsl:variable name="_LCID">
  323.       <xsl:call-template name="localLCID">
  324.         <xsl:with-param name="LCID" select="$LCID"/>
  325.       </xsl:call-template>
  326.     </xsl:variable>
  327.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  328.   </xsl:template>
  329.  
  330.   
  331.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  332.     <xsl:param name="LCID" />
  333.     <xsl:variable name="_LCID">
  334.       <xsl:call-template name="localLCID">
  335.         <xsl:with-param name="LCID" select="$LCID"/>
  336.       </xsl:call-template>
  337.     </xsl:variable>
  338.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  339.   </xsl:template>
  340.  
  341.   
  342.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  343.     <xsl:param name="LCID" />
  344.     <xsl:variable name="_LCID">
  345.       <xsl:call-template name="localLCID">
  346.         <xsl:with-param name="LCID" select="$LCID"/>
  347.       </xsl:call-template>
  348.     </xsl:variable>
  349.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  350.   </xsl:template>
  351.  
  352.   
  353.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  354.     <xsl:param name="LCID" />
  355.     <xsl:variable name="_LCID">
  356.       <xsl:call-template name="localLCID">
  357.         <xsl:with-param name="LCID" select="$LCID"/>
  358.       </xsl:call-template>
  359.     </xsl:variable>
  360.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  361.   </xsl:template>
  362.  
  363.   
  364.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  365.     <xsl:param name="LCID" />
  366.     <xsl:variable name="_LCID">
  367.       <xsl:call-template name="localLCID">
  368.         <xsl:with-param name="LCID" select="$LCID"/>
  369.       </xsl:call-template>
  370.     </xsl:variable>
  371.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  372.   </xsl:template>
  373.  
  374.   
  375.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  376.     <xsl:param name="LCID" />
  377.     <xsl:variable name="_LCID">
  378.       <xsl:call-template name="localLCID">
  379.         <xsl:with-param name="LCID" select="$LCID"/>
  380.       </xsl:call-template>
  381.     </xsl:variable>
  382.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  383.   </xsl:template>
  384.  
  385.   
  386.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  387.     <xsl:param name="LCID" />
  388.     <xsl:variable name="_LCID">
  389.       <xsl:call-template name="localLCID">
  390.         <xsl:with-param name="LCID" select="$LCID"/>
  391.       </xsl:call-template>
  392.     </xsl:variable>
  393.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  394.   </xsl:template>
  395.  
  396.   
  397.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  398.     <xsl:param name="LCID" />
  399.     <xsl:variable name="_LCID">
  400.       <xsl:call-template name="localLCID">
  401.         <xsl:with-param name="LCID" select="$LCID"/>
  402.       </xsl:call-template>
  403.     </xsl:variable>
  404.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  405.   </xsl:template>
  406.  
  407.   
  408.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  409.     <xsl:param name="LCID" />
  410.     <xsl:variable name="_LCID">
  411.       <xsl:call-template name="localLCID">
  412.         <xsl:with-param name="LCID" select="$LCID"/>
  413.       </xsl:call-template>
  414.     </xsl:variable>
  415.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  416.   </xsl:template>
  417.  
  418.   
  419.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  420.     <xsl:param name="LCID" />
  421.     <xsl:variable name="_LCID">
  422.       <xsl:call-template name="localLCID">
  423.         <xsl:with-param name="LCID" select="$LCID"/>
  424.       </xsl:call-template>
  425.     </xsl:variable>
  426.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  427.   </xsl:template>
  428.  
  429.   
  430.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  431.     <xsl:param name="LCID" />
  432.     <xsl:variable name="_LCID">
  433.       <xsl:call-template name="localLCID">
  434.         <xsl:with-param name="LCID" select="$LCID"/>
  435.       </xsl:call-template>
  436.     </xsl:variable>
  437.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  438.   </xsl:template>
  439.  
  440.   
  441.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  442.     <xsl:param name="LCID" />
  443.     <xsl:variable name="_LCID">
  444.       <xsl:call-template name="localLCID">
  445.         <xsl:with-param name="LCID" select="$LCID"/>
  446.       </xsl:call-template>
  447.     </xsl:variable>
  448.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  449.   </xsl:template>
  450.  
  451.   
  452.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  453.     <xsl:param name="LCID" />
  454.     <xsl:variable name="_LCID">
  455.       <xsl:call-template name="localLCID">
  456.         <xsl:with-param name="LCID" select="$LCID"/>
  457.       </xsl:call-template>
  458.     </xsl:variable>
  459.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  460.   </xsl:template>
  461.  
  462.   
  463.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  464.     <xsl:param name="LCID" />
  465.     <xsl:variable name="_LCID">
  466.       <xsl:call-template name="localLCID">
  467.         <xsl:with-param name="LCID" select="$LCID"/>
  468.       </xsl:call-template>
  469.     </xsl:variable>
  470.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  471.   </xsl:template>
  472.  
  473.   
  474.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  475.     <xsl:param name="LCID" />
  476.     <xsl:variable name="_LCID">
  477.       <xsl:call-template name="localLCID">
  478.         <xsl:with-param name="LCID" select="$LCID"/>
  479.       </xsl:call-template>
  480.     </xsl:variable>
  481.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  482.   </xsl:template>
  483.  
  484.   
  485.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  486.     <xsl:param name="LCID" />
  487.     <xsl:variable name="_LCID">
  488.       <xsl:call-template name="localLCID">
  489.         <xsl:with-param name="LCID" select="$LCID"/>
  490.       </xsl:call-template>
  491.     </xsl:variable>
  492.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  493.   </xsl:template>
  494.  
  495.   
  496.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  497.     <xsl:param name="LCID" />
  498.     <xsl:variable name="_LCID">
  499.       <xsl:call-template name="localLCID">
  500.         <xsl:with-param name="LCID" select="$LCID"/>
  501.       </xsl:call-template>
  502.     </xsl:variable>
  503.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  504.   </xsl:template>
  505.  
  506.   
  507.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  508.     <xsl:param name="LCID" />
  509.     <xsl:variable name="_LCID">
  510.       <xsl:call-template name="localLCID">
  511.         <xsl:with-param name="LCID" select="$LCID"/>
  512.       </xsl:call-template>
  513.     </xsl:variable>
  514.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  515.   </xsl:template>
  516.  
  517.   
  518.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  519.     <xsl:param name="LCID" />
  520.     <xsl:variable name="_LCID">
  521.       <xsl:call-template name="localLCID">
  522.         <xsl:with-param name="LCID" select="$LCID"/>
  523.       </xsl:call-template>
  524.     </xsl:variable>
  525.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  526.   </xsl:template>
  527.  
  528.   
  529.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  530.     <xsl:param name="LCID" />
  531.     <xsl:variable name="_LCID">
  532.       <xsl:call-template name="localLCID">
  533.         <xsl:with-param name="LCID" select="$LCID"/>
  534.       </xsl:call-template>
  535.     </xsl:variable>
  536.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  537.   </xsl:template>
  538.  
  539.   
  540.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  541.     <xsl:param name="LCID" />
  542.     <xsl:variable name="_LCID">
  543.       <xsl:call-template name="localLCID">
  544.         <xsl:with-param name="LCID" select="$LCID"/>
  545.       </xsl:call-template>
  546.     </xsl:variable>
  547.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  548.   </xsl:template>
  549.  
  550.   
  551.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  552.     <xsl:param name="LCID" />
  553.     <xsl:variable name="_LCID">
  554.       <xsl:call-template name="localLCID">
  555.         <xsl:with-param name="LCID" select="$LCID"/>
  556.       </xsl:call-template>
  557.     </xsl:variable>
  558.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  559.   </xsl:template>
  560.  
  561.   
  562.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  563.     <xsl:param name="LCID" />
  564.     <xsl:variable name="_LCID">
  565.       <xsl:call-template name="localLCID">
  566.         <xsl:with-param name="LCID" select="$LCID"/>
  567.       </xsl:call-template>
  568.     </xsl:variable>
  569.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  570.   </xsl:template>
  571.  
  572.   
  573.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  574.     <xsl:param name="LCID" />
  575.     <xsl:variable name="_LCID">
  576.       <xsl:call-template name="localLCID">
  577.         <xsl:with-param name="LCID" select="$LCID"/>
  578.       </xsl:call-template>
  579.     </xsl:variable>
  580.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  581.   </xsl:template>
  582.  
  583.   
  584.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  585.     <xsl:param name="LCID" />
  586.     <xsl:variable name="_LCID">
  587.       <xsl:call-template name="localLCID">
  588.         <xsl:with-param name="LCID" select="$LCID"/>
  589.       </xsl:call-template>
  590.     </xsl:variable>
  591.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  592.   </xsl:template>
  593.  
  594.   
  595.   <xsl:template name="templ_str_OnlineCap" >
  596.     <xsl:param name="LCID" />
  597.     <xsl:variable name="_LCID">
  598.       <xsl:call-template name="localLCID">
  599.         <xsl:with-param name="LCID" select="$LCID"/>
  600.       </xsl:call-template>
  601.     </xsl:variable>
  602.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  603.   </xsl:template>
  604.  
  605.   
  606.   <xsl:template name="templ_str_OnlineUnCap" >
  607.     <xsl:param name="LCID" />
  608.     <xsl:variable name="_LCID">
  609.       <xsl:call-template name="localLCID">
  610.         <xsl:with-param name="LCID" select="$LCID"/>
  611.       </xsl:call-template>
  612.     </xsl:variable>
  613.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  614.   </xsl:template>
  615.  
  616.   
  617.   <xsl:template name="templ_str_FiledCap" >
  618.     <xsl:param name="LCID" />
  619.     <xsl:variable name="_LCID">
  620.       <xsl:call-template name="localLCID">
  621.         <xsl:with-param name="LCID" select="$LCID"/>
  622.       </xsl:call-template>
  623.     </xsl:variable>
  624.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FiledCap"/>
  625.   </xsl:template>
  626.  
  627.   
  628.   <xsl:template name="templ_str_PatentFiledCap" >
  629.     <xsl:param name="LCID" />
  630.     <xsl:variable name="_LCID">
  631.       <xsl:call-template name="localLCID">
  632.         <xsl:with-param name="LCID" select="$LCID"/>
  633.       </xsl:call-template>
  634.     </xsl:variable>
  635.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentFiledCap"/>
  636.   </xsl:template>
  637.  
  638.   
  639.   <xsl:template name="templ_str_InCap" >
  640.     <xsl:param name="LCID" />
  641.     <xsl:variable name="_LCID">
  642.       <xsl:call-template name="localLCID">
  643.         <xsl:with-param name="LCID" select="$LCID"/>
  644.       </xsl:call-template>
  645.     </xsl:variable>
  646.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  647.   </xsl:template>
  648.  
  649.   
  650.   <xsl:template name="templ_str_InNameCap" >
  651.     <xsl:param name="LCID" />
  652.     <xsl:variable name="_LCID">
  653.       <xsl:call-template name="localLCID">
  654.         <xsl:with-param name="LCID" select="$LCID"/>
  655.       </xsl:call-template>
  656.     </xsl:variable>
  657.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  658.   </xsl:template>
  659.  
  660.   
  661.   <xsl:template name="templ_str_WithUnCap" >
  662.     <xsl:param name="LCID" />
  663.     <xsl:variable name="_LCID">
  664.       <xsl:call-template name="localLCID">
  665.         <xsl:with-param name="LCID" select="$LCID"/>
  666.       </xsl:call-template>
  667.     </xsl:variable>
  668.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  669.   </xsl:template>
  670.  
  671.   
  672.   <xsl:template name="templ_str_VersionShortCap" >
  673.     <xsl:param name="LCID" />
  674.     <xsl:variable name="_LCID">
  675.       <xsl:call-template name="localLCID">
  676.         <xsl:with-param name="LCID" select="$LCID"/>
  677.       </xsl:call-template>
  678.     </xsl:variable>
  679.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  680.   </xsl:template>
  681.  
  682.   
  683.   <xsl:template name="templ_str_InterviewCap" >
  684.     <xsl:param name="LCID" />
  685.     <xsl:variable name="_LCID">
  686.       <xsl:call-template name="localLCID">
  687.         <xsl:with-param name="LCID" select="$LCID"/>
  688.       </xsl:call-template>
  689.     </xsl:variable>
  690.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  691.   </xsl:template>
  692.  
  693.   
  694.   <xsl:template name="templ_str_InterviewWithCap" >
  695.     <xsl:param name="LCID" />
  696.     <xsl:variable name="_LCID">
  697.       <xsl:call-template name="localLCID">
  698.         <xsl:with-param name="LCID" select="$LCID"/>
  699.       </xsl:call-template>
  700.     </xsl:variable>
  701.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  702.   </xsl:template>
  703.  
  704.   
  705.   <xsl:template name="templ_str_InterviewByCap" >
  706.     <xsl:param name="LCID" />
  707.     <xsl:variable name="_LCID">
  708.       <xsl:call-template name="localLCID">
  709.         <xsl:with-param name="LCID" select="$LCID"/>
  710.       </xsl:call-template>
  711.     </xsl:variable>
  712.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  713.   </xsl:template>
  714.  
  715.   
  716.   <xsl:template name="templ_str_ByCap" >
  717.     <xsl:param name="LCID" />
  718.     <xsl:variable name="_LCID">
  719.       <xsl:call-template name="localLCID">
  720.         <xsl:with-param name="LCID" select="$LCID"/>
  721.       </xsl:call-template>
  722.     </xsl:variable>
  723.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  724.   </xsl:template>
  725.  
  726.   
  727.   <xsl:template name="templ_str_AndUnCap" >
  728.     <xsl:param name="LCID" />
  729.     <xsl:variable name="_LCID">
  730.       <xsl:call-template name="localLCID">
  731.         <xsl:with-param name="LCID" select="$LCID"/>
  732.       </xsl:call-template>
  733.     </xsl:variable>
  734.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  735.   </xsl:template>
  736.  
  737.   
  738.   <xsl:template name="templ_str_AndOthersUnCap" >
  739.     <xsl:param name="LCID" />
  740.     <xsl:variable name="_LCID">
  741.       <xsl:call-template name="localLCID">
  742.         <xsl:with-param name="LCID" select="$LCID"/>
  743.       </xsl:call-template>
  744.     </xsl:variable>
  745.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  746.   </xsl:template>
  747.  
  748.   
  749.   <xsl:template name="templ_str_MotionPictureCap" >
  750.     <xsl:param name="LCID" />
  751.     <xsl:variable name="_LCID">
  752.       <xsl:call-template name="localLCID">
  753.         <xsl:with-param name="LCID" select="$LCID"/>
  754.       </xsl:call-template>
  755.     </xsl:variable>
  756.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  757.   </xsl:template>
  758.  
  759.   
  760.   <xsl:template name="templ_str_PatentCap" >
  761.     <xsl:param name="LCID" />
  762.     <xsl:variable name="_LCID">
  763.       <xsl:call-template name="localLCID">
  764.         <xsl:with-param name="LCID" select="$LCID"/>
  765.       </xsl:call-template>
  766.     </xsl:variable>
  767.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  768.   </xsl:template>
  769.  
  770.   
  771.   <xsl:template name="templ_str_EditionShortUnCap" >
  772.     <xsl:param name="LCID" />
  773.     <xsl:variable name="_LCID">
  774.       <xsl:call-template name="localLCID">
  775.         <xsl:with-param name="LCID" select="$LCID"/>
  776.       </xsl:call-template>
  777.     </xsl:variable>
  778.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  779.   </xsl:template>
  780.  
  781.   
  782.   <xsl:template name="templ_str_EditionUnCap" >
  783.     <xsl:param name="LCID" />
  784.     <xsl:variable name="_LCID">
  785.       <xsl:call-template name="localLCID">
  786.         <xsl:with-param name="LCID" select="$LCID"/>
  787.       </xsl:call-template>
  788.     </xsl:variable>
  789.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionUnCap"/>
  790.   </xsl:template>
  791.  
  792.   
  793.   <xsl:template name="templ_str_RetrievedFromCap" >
  794.     <xsl:param name="LCID" />
  795.     <xsl:variable name="_LCID">
  796.       <xsl:call-template name="localLCID">
  797.         <xsl:with-param name="LCID" select="$LCID"/>
  798.       </xsl:call-template>
  799.     </xsl:variable>
  800.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  801.   </xsl:template>
  802.  
  803.   
  804.   <xsl:template name="templ_str_RetrievedCap" >
  805.     <xsl:param name="LCID" />
  806.     <xsl:variable name="_LCID">
  807.       <xsl:call-template name="localLCID">
  808.         <xsl:with-param name="LCID" select="$LCID"/>
  809.       </xsl:call-template>
  810.     </xsl:variable>
  811.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  812.   </xsl:template>
  813.  
  814.   
  815.   <xsl:template name="templ_str_FromCap" >
  816.     <xsl:param name="LCID" />
  817.     <xsl:variable name="_LCID">
  818.       <xsl:call-template name="localLCID">
  819.         <xsl:with-param name="LCID" select="$LCID"/>
  820.       </xsl:call-template>
  821.     </xsl:variable>
  822.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  823.   </xsl:template>
  824.  
  825.   
  826.   <xsl:template name="templ_str_FromUnCap" >
  827.     <xsl:param name="LCID" />
  828.     <xsl:variable name="_LCID">
  829.       <xsl:call-template name="localLCID">
  830.         <xsl:with-param name="LCID" select="$LCID"/>
  831.       </xsl:call-template>
  832.     </xsl:variable>
  833.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  834.   </xsl:template>
  835.  
  836.   
  837.   <xsl:template name="templ_str_NoDateShortUnCap" >
  838.     <xsl:param name="LCID" />
  839.     <xsl:variable name="_LCID">
  840.       <xsl:call-template name="localLCID">
  841.         <xsl:with-param name="LCID" select="$LCID"/>
  842.       </xsl:call-template>
  843.     </xsl:variable>
  844.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  845.   </xsl:template>
  846.  
  847.   
  848.   <xsl:template name="templ_str_NumberShortCap" >
  849.     <xsl:param name="LCID" />
  850.     <xsl:variable name="_LCID">
  851.       <xsl:call-template name="localLCID">
  852.         <xsl:with-param name="LCID" select="$LCID"/>
  853.       </xsl:call-template>
  854.     </xsl:variable>
  855.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  856.   </xsl:template>
  857.  
  858.   
  859.   <xsl:template name="templ_str_NumberShortUnCap" >
  860.     <xsl:param name="LCID" />
  861.     <xsl:variable name="_LCID">
  862.       <xsl:call-template name="localLCID">
  863.         <xsl:with-param name="LCID" select="$LCID"/>
  864.       </xsl:call-template>
  865.     </xsl:variable>
  866.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  867.   </xsl:template>
  868.  
  869.   
  870.   <xsl:template name="templ_str_PatentNumberShortCap" >
  871.     <xsl:param name="LCID" />
  872.     <xsl:variable name="_LCID">
  873.       <xsl:call-template name="localLCID">
  874.         <xsl:with-param name="LCID" select="$LCID"/>
  875.       </xsl:call-template>
  876.     </xsl:variable>
  877.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  878.   </xsl:template>
  879.  
  880.   
  881.   <xsl:template name="templ_str_PagesCountinousShort" >
  882.     <xsl:param name="LCID" />
  883.     <xsl:variable name="_LCID">
  884.       <xsl:call-template name="localLCID">
  885.         <xsl:with-param name="LCID" select="$LCID"/>
  886.       </xsl:call-template>
  887.     </xsl:variable>
  888.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  889.   </xsl:template>
  890.  
  891.   
  892.   <xsl:template name="templ_str_PageShort" >
  893.     <xsl:param name="LCID" />
  894.     <xsl:variable name="_LCID">
  895.       <xsl:call-template name="localLCID">
  896.         <xsl:with-param name="LCID" select="$LCID"/>
  897.       </xsl:call-template>
  898.     </xsl:variable>
  899.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  900.   </xsl:template>
  901.  
  902.   
  903.   <xsl:template name="templ_str_SineNomineShort" >
  904.     <xsl:param name="LCID" />
  905.     <xsl:variable name="_LCID">
  906.       <xsl:call-template name="localLCID">
  907.         <xsl:with-param name="LCID" select="$LCID"/>
  908.       </xsl:call-template>
  909.     </xsl:variable>
  910.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  911.   </xsl:template>
  912.  
  913.   
  914.   <xsl:template name="templ_str_SineLocoShort" >
  915.     <xsl:param name="LCID" />
  916.     <xsl:variable name="_LCID">
  917.       <xsl:call-template name="localLCID">
  918.         <xsl:with-param name="LCID" select="$LCID"/>
  919.       </xsl:call-template>
  920.     </xsl:variable>
  921.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  922.   </xsl:template>
  923.  
  924.   
  925.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  926.     <xsl:param name="LCID" />
  927.     <xsl:variable name="_LCID">
  928.       <xsl:call-template name="localLCID">
  929.         <xsl:with-param name="LCID" select="$LCID"/>
  930.       </xsl:call-template>
  931.     </xsl:variable>
  932.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  933.   </xsl:template>
  934.  
  935.   
  936.   <xsl:template name="templ_str_VolumeOfShortCap" >
  937.     <xsl:param name="LCID" />
  938.     <xsl:variable name="_LCID">
  939.       <xsl:call-template name="localLCID">
  940.         <xsl:with-param name="LCID" select="$LCID"/>
  941.       </xsl:call-template>
  942.     </xsl:variable>
  943.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  944.   </xsl:template>
  945.  
  946.   
  947.   <xsl:template name="templ_str_VolumesOfShortCap" >
  948.     <xsl:param name="LCID" />
  949.     <xsl:variable name="_LCID">
  950.       <xsl:call-template name="localLCID">
  951.         <xsl:with-param name="LCID" select="$LCID"/>
  952.       </xsl:call-template>
  953.     </xsl:variable>
  954.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  955.   </xsl:template>
  956.  
  957.   
  958.   <xsl:template name="templ_str_VolumeShortCap" >
  959.     <xsl:param name="LCID" />
  960.     <xsl:variable name="_LCID">
  961.       <xsl:call-template name="localLCID">
  962.         <xsl:with-param name="LCID" select="$LCID"/>
  963.       </xsl:call-template>
  964.     </xsl:variable>
  965.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  966.   </xsl:template>
  967.  
  968.   
  969.   <xsl:template name="templ_str_VolumeShortUnCap" >
  970.     <xsl:param name="LCID" />
  971.     <xsl:variable name="_LCID">
  972.       <xsl:call-template name="localLCID">
  973.         <xsl:with-param name="LCID" select="$LCID"/>
  974.       </xsl:call-template>
  975.     </xsl:variable>
  976.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  977.   </xsl:template>
  978.  
  979.   
  980.   <xsl:template name="templ_str_VolumesShortUnCap" >
  981.     <xsl:param name="LCID" />
  982.     <xsl:variable name="_LCID">
  983.       <xsl:call-template name="localLCID">
  984.         <xsl:with-param name="LCID" select="$LCID"/>
  985.       </xsl:call-template>
  986.     </xsl:variable>
  987.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  988.   </xsl:template>
  989.  
  990.   
  991.   <xsl:template name="templ_str_VolumesShortCap" >
  992.     <xsl:param name="LCID" />
  993.     <xsl:variable name="_LCID">
  994.       <xsl:call-template name="localLCID">
  995.         <xsl:with-param name="LCID" select="$LCID"/>
  996.       </xsl:call-template>
  997.     </xsl:variable>
  998.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  999.   </xsl:template>
  1000.  
  1001.   
  1002.   <xsl:template name="templ_str_VolumeCap" >
  1003.     <xsl:param name="LCID" />
  1004.     <xsl:variable name="_LCID">
  1005.       <xsl:call-template name="localLCID">
  1006.         <xsl:with-param name="LCID" select="$LCID"/>
  1007.       </xsl:call-template>
  1008.     </xsl:variable>
  1009.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeCap"/>
  1010.   </xsl:template>
  1011.  
  1012.   
  1013.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1014.     <xsl:param name="LCID" />
  1015.     <xsl:variable name="_LCID">
  1016.       <xsl:call-template name="localLCID">
  1017.         <xsl:with-param name="LCID" select="$LCID"/>
  1018.       </xsl:call-template>
  1019.     </xsl:variable>
  1020.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1021.   </xsl:template>
  1022.  
  1023.   
  1024.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1025.     <xsl:param name="LCID" />
  1026.     <xsl:variable name="_LCID">
  1027.       <xsl:call-template name="localLCID">
  1028.         <xsl:with-param name="LCID" select="$LCID"/>
  1029.       </xsl:call-template>
  1030.     </xsl:variable>
  1031.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1032.   </xsl:template>
  1033.  
  1034.   
  1035.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1036.     <xsl:param name="LCID" />
  1037.     <xsl:variable name="_LCID">
  1038.       <xsl:call-template name="localLCID">
  1039.         <xsl:with-param name="LCID" select="$LCID"/>
  1040.       </xsl:call-template>
  1041.     </xsl:variable>
  1042.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1043.   </xsl:template>
  1044.  
  1045.   
  1046.   <xsl:template name="templ_str_WriterCap" >
  1047.     <xsl:param name="LCID" />
  1048.     <xsl:variable name="_LCID">
  1049.       <xsl:call-template name="localLCID">
  1050.         <xsl:with-param name="LCID" select="$LCID"/>
  1051.       </xsl:call-template>
  1052.     </xsl:variable>
  1053.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1054.   </xsl:template>
  1055.  
  1056.   
  1057.   <xsl:template name="templ_str_WritersCap" >
  1058.     <xsl:param name="LCID" />
  1059.     <xsl:variable name="_LCID">
  1060.       <xsl:call-template name="localLCID">
  1061.         <xsl:with-param name="LCID" select="$LCID"/>
  1062.       </xsl:call-template>
  1063.     </xsl:variable>
  1064.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1065.   </xsl:template>
  1066.  
  1067.   
  1068.   <xsl:template name="templ_str_WriterShortUnCap" >
  1069.     <xsl:param name="LCID" />
  1070.     <xsl:variable name="_LCID">
  1071.       <xsl:call-template name="localLCID">
  1072.         <xsl:with-param name="LCID" select="$LCID"/>
  1073.       </xsl:call-template>
  1074.     </xsl:variable>
  1075.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1076.   </xsl:template>
  1077.  
  1078.   
  1079.   <xsl:template name="templ_str_ConductedByCap" >
  1080.     <xsl:param name="LCID" />
  1081.     <xsl:variable name="_LCID">
  1082.       <xsl:call-template name="localLCID">
  1083.         <xsl:with-param name="LCID" select="$LCID"/>
  1084.       </xsl:call-template>
  1085.     </xsl:variable>
  1086.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1087.   </xsl:template>
  1088.  
  1089.   
  1090.   <xsl:template name="templ_str_ConductedByUnCap" >
  1091.     <xsl:param name="LCID" />
  1092.     <xsl:variable name="_LCID">
  1093.       <xsl:call-template name="localLCID">
  1094.         <xsl:with-param name="LCID" select="$LCID"/>
  1095.       </xsl:call-template>
  1096.     </xsl:variable>
  1097.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1098.   </xsl:template>
  1099.  
  1100.   
  1101.   <xsl:template name="templ_str_ConductorCap" >
  1102.     <xsl:param name="LCID" />
  1103.     <xsl:variable name="_LCID">
  1104.       <xsl:call-template name="localLCID">
  1105.         <xsl:with-param name="LCID" select="$LCID"/>
  1106.       </xsl:call-template>
  1107.     </xsl:variable>
  1108.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1109.   </xsl:template>
  1110.  
  1111.   
  1112.   <xsl:template name="templ_str_ConductorsCap" >
  1113.     <xsl:param name="LCID" />
  1114.     <xsl:variable name="_LCID">
  1115.       <xsl:call-template name="localLCID">
  1116.         <xsl:with-param name="LCID" select="$LCID"/>
  1117.       </xsl:call-template>
  1118.     </xsl:variable>
  1119.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1120.   </xsl:template>
  1121.  
  1122.   
  1123.   <xsl:template name="templ_str_ConductorShortCap" >
  1124.     <xsl:param name="LCID" />
  1125.     <xsl:variable name="_LCID">
  1126.       <xsl:call-template name="localLCID">
  1127.         <xsl:with-param name="LCID" select="$LCID"/>
  1128.       </xsl:call-template>
  1129.     </xsl:variable>
  1130.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1131.   </xsl:template>
  1132.  
  1133.   
  1134.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1135.     <xsl:param name="LCID" />
  1136.     <xsl:variable name="_LCID">
  1137.       <xsl:call-template name="localLCID">
  1138.         <xsl:with-param name="LCID" select="$LCID"/>
  1139.       </xsl:call-template>
  1140.     </xsl:variable>
  1141.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1142.   </xsl:template>
  1143.  
  1144.   
  1145.   <xsl:template name="templ_str_ConductorsShortCap" >
  1146.     <xsl:param name="LCID" />
  1147.     <xsl:variable name="_LCID">
  1148.       <xsl:call-template name="localLCID">
  1149.         <xsl:with-param name="LCID" select="$LCID"/>
  1150.       </xsl:call-template>
  1151.     </xsl:variable>
  1152.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1153.   </xsl:template>
  1154.  
  1155.   
  1156.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1157.     <xsl:param name="LCID" />
  1158.     <xsl:variable name="_LCID">
  1159.       <xsl:call-template name="localLCID">
  1160.         <xsl:with-param name="LCID" select="$LCID"/>
  1161.       </xsl:call-template>
  1162.     </xsl:variable>
  1163.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1164.   </xsl:template>
  1165.  
  1166.   
  1167.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1168.     <xsl:param name="LCID" />
  1169.     <xsl:variable name="_LCID">
  1170.       <xsl:call-template name="localLCID">
  1171.         <xsl:with-param name="LCID" select="$LCID"/>
  1172.       </xsl:call-template>
  1173.     </xsl:variable>
  1174.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1175.   </xsl:template>
  1176.  
  1177.   
  1178.   <xsl:template name="templ_str_CounselShortUnCap" >
  1179.     <xsl:param name="LCID" />
  1180.     <xsl:variable name="_LCID">
  1181.       <xsl:call-template name="localLCID">
  1182.         <xsl:with-param name="LCID" select="$LCID"/>
  1183.       </xsl:call-template>
  1184.     </xsl:variable>
  1185.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1186.   </xsl:template>
  1187.  
  1188.   
  1189.   <xsl:template name="templ_str_DirectedByCap" >
  1190.     <xsl:param name="LCID" />
  1191.     <xsl:variable name="_LCID">
  1192.       <xsl:call-template name="localLCID">
  1193.         <xsl:with-param name="LCID" select="$LCID"/>
  1194.       </xsl:call-template>
  1195.     </xsl:variable>
  1196.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1197.   </xsl:template>
  1198.  
  1199.   
  1200.   <xsl:template name="templ_str_DirectedByUnCap" >
  1201.     <xsl:param name="LCID" />
  1202.     <xsl:variable name="_LCID">
  1203.       <xsl:call-template name="localLCID">
  1204.         <xsl:with-param name="LCID" select="$LCID"/>
  1205.       </xsl:call-template>
  1206.     </xsl:variable>
  1207.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1208.   </xsl:template>
  1209.  
  1210.   
  1211.   <xsl:template name="templ_str_DirectorCap" >
  1212.     <xsl:param name="LCID" />
  1213.     <xsl:variable name="_LCID">
  1214.       <xsl:call-template name="localLCID">
  1215.         <xsl:with-param name="LCID" select="$LCID"/>
  1216.       </xsl:call-template>
  1217.     </xsl:variable>
  1218.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1219.   </xsl:template>
  1220.  
  1221.   
  1222.   <xsl:template name="templ_str_DirectorsCap" >
  1223.     <xsl:param name="LCID" />
  1224.     <xsl:variable name="_LCID">
  1225.       <xsl:call-template name="localLCID">
  1226.         <xsl:with-param name="LCID" select="$LCID"/>
  1227.       </xsl:call-template>
  1228.     </xsl:variable>
  1229.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1230.   </xsl:template>
  1231.  
  1232.   
  1233.   <xsl:template name="templ_str_DirectorShortCap" >
  1234.     <xsl:param name="LCID" />
  1235.     <xsl:variable name="_LCID">
  1236.       <xsl:call-template name="localLCID">
  1237.         <xsl:with-param name="LCID" select="$LCID"/>
  1238.       </xsl:call-template>
  1239.     </xsl:variable>
  1240.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1241.   </xsl:template>
  1242.  
  1243.   
  1244.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1245.     <xsl:param name="LCID" />
  1246.     <xsl:variable name="_LCID">
  1247.       <xsl:call-template name="localLCID">
  1248.         <xsl:with-param name="LCID" select="$LCID"/>
  1249.       </xsl:call-template>
  1250.     </xsl:variable>
  1251.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1252.   </xsl:template>
  1253.  
  1254.   
  1255.   <xsl:template name="templ_str_DirectorsShortCap" >
  1256.     <xsl:param name="LCID" />
  1257.     <xsl:variable name="_LCID">
  1258.       <xsl:call-template name="localLCID">
  1259.         <xsl:with-param name="LCID" select="$LCID"/>
  1260.       </xsl:call-template>
  1261.     </xsl:variable>
  1262.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1263.   </xsl:template>
  1264.  
  1265.   
  1266.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1267.     <xsl:param name="LCID" />
  1268.     <xsl:variable name="_LCID">
  1269.       <xsl:call-template name="localLCID">
  1270.         <xsl:with-param name="LCID" select="$LCID"/>
  1271.       </xsl:call-template>
  1272.     </xsl:variable>
  1273.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1274.   </xsl:template>
  1275.  
  1276.   
  1277.   <xsl:template name="templ_str_EditedByCap" >
  1278.     <xsl:param name="LCID" />
  1279.     <xsl:variable name="_LCID">
  1280.       <xsl:call-template name="localLCID">
  1281.         <xsl:with-param name="LCID" select="$LCID"/>
  1282.       </xsl:call-template>
  1283.     </xsl:variable>
  1284.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1285.   </xsl:template>
  1286.  
  1287.   
  1288.   <xsl:template name="templ_str_EditedByUnCap" >
  1289.     <xsl:param name="LCID" />
  1290.     <xsl:variable name="_LCID">
  1291.       <xsl:call-template name="localLCID">
  1292.         <xsl:with-param name="LCID" select="$LCID"/>
  1293.       </xsl:call-template>
  1294.     </xsl:variable>
  1295.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1296.   </xsl:template>
  1297.  
  1298.   
  1299.   <xsl:template name="templ_str_EditorCap" >
  1300.     <xsl:param name="LCID" />
  1301.     <xsl:variable name="_LCID">
  1302.       <xsl:call-template name="localLCID">
  1303.         <xsl:with-param name="LCID" select="$LCID"/>
  1304.       </xsl:call-template>
  1305.     </xsl:variable>
  1306.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1307.   </xsl:template>
  1308.  
  1309.   
  1310.   <xsl:template name="templ_str_EditorsCap" >
  1311.     <xsl:param name="LCID" />
  1312.     <xsl:variable name="_LCID">
  1313.       <xsl:call-template name="localLCID">
  1314.         <xsl:with-param name="LCID" select="$LCID"/>
  1315.       </xsl:call-template>
  1316.     </xsl:variable>
  1317.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1318.   </xsl:template>
  1319.  
  1320.   
  1321.   <xsl:template name="templ_str_EditorShortCap" >
  1322.     <xsl:param name="LCID" />
  1323.     <xsl:variable name="_LCID">
  1324.       <xsl:call-template name="localLCID">
  1325.         <xsl:with-param name="LCID" select="$LCID"/>
  1326.       </xsl:call-template>
  1327.     </xsl:variable>
  1328.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1329.   </xsl:template>
  1330.  
  1331.   
  1332.   <xsl:template name="templ_str_EditorShortUnCap" >
  1333.     <xsl:param name="LCID" />
  1334.     <xsl:variable name="_LCID">
  1335.       <xsl:call-template name="localLCID">
  1336.         <xsl:with-param name="LCID" select="$LCID"/>
  1337.       </xsl:call-template>
  1338.     </xsl:variable>
  1339.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1340.   </xsl:template>
  1341.  
  1342.   
  1343.   <xsl:template name="templ_str_EditorsShortCap" >
  1344.     <xsl:param name="LCID" />
  1345.     <xsl:variable name="_LCID">
  1346.       <xsl:call-template name="localLCID">
  1347.         <xsl:with-param name="LCID" select="$LCID"/>
  1348.       </xsl:call-template>
  1349.     </xsl:variable>
  1350.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1351.   </xsl:template>
  1352.  
  1353.   
  1354.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1355.     <xsl:param name="LCID" />
  1356.     <xsl:variable name="_LCID">
  1357.       <xsl:call-template name="localLCID">
  1358.         <xsl:with-param name="LCID" select="$LCID"/>
  1359.       </xsl:call-template>
  1360.     </xsl:variable>
  1361.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1362.   </xsl:template>
  1363.  
  1364.   
  1365.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1366.     <xsl:param name="LCID" />
  1367.     <xsl:variable name="_LCID">
  1368.       <xsl:call-template name="localLCID">
  1369.         <xsl:with-param name="LCID" select="$LCID"/>
  1370.       </xsl:call-template>
  1371.     </xsl:variable>
  1372.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1373.   </xsl:template>
  1374.  
  1375.   
  1376.   <xsl:template name="templ_str_InterviewerCap" >
  1377.     <xsl:param name="LCID" />
  1378.     <xsl:variable name="_LCID">
  1379.       <xsl:call-template name="localLCID">
  1380.         <xsl:with-param name="LCID" select="$LCID"/>
  1381.       </xsl:call-template>
  1382.     </xsl:variable>
  1383.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1384.   </xsl:template>
  1385.  
  1386.   
  1387.   <xsl:template name="templ_str_InterviewersCap" >
  1388.     <xsl:param name="LCID" />
  1389.     <xsl:variable name="_LCID">
  1390.       <xsl:call-template name="localLCID">
  1391.         <xsl:with-param name="LCID" select="$LCID"/>
  1392.       </xsl:call-template>
  1393.     </xsl:variable>
  1394.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1395.   </xsl:template>
  1396.  
  1397.   
  1398.   <xsl:template name="templ_str_InventorShortUnCap" >
  1399.     <xsl:param name="LCID" />
  1400.     <xsl:variable name="_LCID">
  1401.       <xsl:call-template name="localLCID">
  1402.         <xsl:with-param name="LCID" select="$LCID"/>
  1403.       </xsl:call-template>
  1404.     </xsl:variable>
  1405.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1406.   </xsl:template>
  1407.  
  1408.   
  1409.   <xsl:template name="templ_str_PerformedByCap" >
  1410.     <xsl:param name="LCID" />
  1411.     <xsl:variable name="_LCID">
  1412.       <xsl:call-template name="localLCID">
  1413.         <xsl:with-param name="LCID" select="$LCID"/>
  1414.       </xsl:call-template>
  1415.     </xsl:variable>
  1416.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1417.   </xsl:template>
  1418.  
  1419.   
  1420.   <xsl:template name="templ_str_PerformedByUnCap" >
  1421.     <xsl:param name="LCID" />
  1422.     <xsl:variable name="_LCID">
  1423.       <xsl:call-template name="localLCID">
  1424.         <xsl:with-param name="LCID" select="$LCID"/>
  1425.       </xsl:call-template>
  1426.     </xsl:variable>
  1427.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1428.   </xsl:template>
  1429.  
  1430.   
  1431.   <xsl:template name="templ_str_PerformerCap" >
  1432.     <xsl:param name="LCID" />
  1433.     <xsl:variable name="_LCID">
  1434.       <xsl:call-template name="localLCID">
  1435.         <xsl:with-param name="LCID" select="$LCID"/>
  1436.       </xsl:call-template>
  1437.     </xsl:variable>
  1438.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1439.   </xsl:template>
  1440.  
  1441.   
  1442.   <xsl:template name="templ_str_PerformersCap" >
  1443.     <xsl:param name="LCID" />
  1444.     <xsl:variable name="_LCID">
  1445.       <xsl:call-template name="localLCID">
  1446.         <xsl:with-param name="LCID" select="$LCID"/>
  1447.       </xsl:call-template>
  1448.     </xsl:variable>
  1449.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1450.   </xsl:template>
  1451.  
  1452.   
  1453.   <xsl:template name="templ_str_PerformerShortCap" >
  1454.     <xsl:param name="LCID" />
  1455.     <xsl:variable name="_LCID">
  1456.       <xsl:call-template name="localLCID">
  1457.         <xsl:with-param name="LCID" select="$LCID"/>
  1458.       </xsl:call-template>
  1459.     </xsl:variable>
  1460.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1461.   </xsl:template>
  1462.  
  1463.   
  1464.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1465.     <xsl:param name="LCID" />
  1466.     <xsl:variable name="_LCID">
  1467.       <xsl:call-template name="localLCID">
  1468.         <xsl:with-param name="LCID" select="$LCID"/>
  1469.       </xsl:call-template>
  1470.     </xsl:variable>
  1471.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1472.   </xsl:template>
  1473.  
  1474.   
  1475.   <xsl:template name="templ_str_PerformersShortCap" >
  1476.     <xsl:param name="LCID" />
  1477.     <xsl:variable name="_LCID">
  1478.       <xsl:call-template name="localLCID">
  1479.         <xsl:with-param name="LCID" select="$LCID"/>
  1480.       </xsl:call-template>
  1481.     </xsl:variable>
  1482.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1483.   </xsl:template>
  1484.  
  1485.   
  1486.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1487.     <xsl:param name="LCID" />
  1488.     <xsl:variable name="_LCID">
  1489.       <xsl:call-template name="localLCID">
  1490.         <xsl:with-param name="LCID" select="$LCID"/>
  1491.       </xsl:call-template>
  1492.     </xsl:variable>
  1493.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1494.   </xsl:template>
  1495.  
  1496.   
  1497.   <xsl:template name="templ_str_ProducedByCap" >
  1498.     <xsl:param name="LCID" />
  1499.     <xsl:variable name="_LCID">
  1500.       <xsl:call-template name="localLCID">
  1501.         <xsl:with-param name="LCID" select="$LCID"/>
  1502.       </xsl:call-template>
  1503.     </xsl:variable>
  1504.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1505.   </xsl:template>
  1506.  
  1507.   
  1508.   <xsl:template name="templ_str_ProducedByUnCap" >
  1509.     <xsl:param name="LCID" />
  1510.     <xsl:variable name="_LCID">
  1511.       <xsl:call-template name="localLCID">
  1512.         <xsl:with-param name="LCID" select="$LCID"/>
  1513.       </xsl:call-template>
  1514.     </xsl:variable>
  1515.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1516.   </xsl:template>
  1517.  
  1518.   
  1519.   <xsl:template name="templ_str_ProducerCap" >
  1520.     <xsl:param name="LCID" />
  1521.     <xsl:variable name="_LCID">
  1522.       <xsl:call-template name="localLCID">
  1523.         <xsl:with-param name="LCID" select="$LCID"/>
  1524.       </xsl:call-template>
  1525.     </xsl:variable>
  1526.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1527.   </xsl:template>
  1528.  
  1529.   
  1530.   <xsl:template name="templ_str_ProducersCap" >
  1531.     <xsl:param name="LCID" />
  1532.     <xsl:variable name="_LCID">
  1533.       <xsl:call-template name="localLCID">
  1534.         <xsl:with-param name="LCID" select="$LCID"/>
  1535.       </xsl:call-template>
  1536.     </xsl:variable>
  1537.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1538.   </xsl:template>
  1539.  
  1540.   
  1541.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1542.     <xsl:param name="LCID" />
  1543.     <xsl:variable name="_LCID">
  1544.       <xsl:call-template name="localLCID">
  1545.         <xsl:with-param name="LCID" select="$LCID"/>
  1546.       </xsl:call-template>
  1547.     </xsl:variable>
  1548.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1549.   </xsl:template>
  1550.  
  1551.   
  1552.   <xsl:template name="templ_str_ProducerShortCap" >
  1553.     <xsl:param name="LCID" />
  1554.     <xsl:variable name="_LCID">
  1555.       <xsl:call-template name="localLCID">
  1556.         <xsl:with-param name="LCID" select="$LCID"/>
  1557.       </xsl:call-template>
  1558.     </xsl:variable>
  1559.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1560.   </xsl:template>
  1561.  
  1562.   
  1563.   <xsl:template name="templ_str_ProducersShortCap" >
  1564.     <xsl:param name="LCID" />
  1565.     <xsl:variable name="_LCID">
  1566.       <xsl:call-template name="localLCID">
  1567.         <xsl:with-param name="LCID" select="$LCID"/>
  1568.       </xsl:call-template>
  1569.     </xsl:variable>
  1570.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1571.   </xsl:template>
  1572.  
  1573.   
  1574.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1575.     <xsl:param name="LCID" />
  1576.     <xsl:variable name="_LCID">
  1577.       <xsl:call-template name="localLCID">
  1578.         <xsl:with-param name="LCID" select="$LCID"/>
  1579.       </xsl:call-template>
  1580.     </xsl:variable>
  1581.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1582.   </xsl:template>
  1583.  
  1584.   
  1585.   <xsl:template name="templ_str_TranslatedByCap" >
  1586.     <xsl:param name="LCID" />
  1587.     <xsl:variable name="_LCID">
  1588.       <xsl:call-template name="localLCID">
  1589.         <xsl:with-param name="LCID" select="$LCID"/>
  1590.       </xsl:call-template>
  1591.     </xsl:variable>
  1592.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1593.   </xsl:template>
  1594.  
  1595.   
  1596.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1597.     <xsl:param name="LCID" />
  1598.     <xsl:variable name="_LCID">
  1599.       <xsl:call-template name="localLCID">
  1600.         <xsl:with-param name="LCID" select="$LCID"/>
  1601.       </xsl:call-template>
  1602.     </xsl:variable>
  1603.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1604.   </xsl:template>
  1605.  
  1606.   
  1607.   <xsl:template name="templ_str_TranslatorCap" >
  1608.     <xsl:param name="LCID" />
  1609.     <xsl:variable name="_LCID">
  1610.       <xsl:call-template name="localLCID">
  1611.         <xsl:with-param name="LCID" select="$LCID"/>
  1612.       </xsl:call-template>
  1613.     </xsl:variable>
  1614.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1615.   </xsl:template>
  1616.  
  1617.   
  1618.   <xsl:template name="templ_str_TranslatorsCap" >
  1619.     <xsl:param name="LCID" />
  1620.     <xsl:variable name="_LCID">
  1621.       <xsl:call-template name="localLCID">
  1622.         <xsl:with-param name="LCID" select="$LCID"/>
  1623.       </xsl:call-template>
  1624.     </xsl:variable>
  1625.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1626.   </xsl:template>
  1627.  
  1628.   
  1629.   <xsl:template name="templ_str_TranslatorShortCap" >
  1630.     <xsl:param name="LCID" />
  1631.     <xsl:variable name="_LCID">
  1632.       <xsl:call-template name="localLCID">
  1633.         <xsl:with-param name="LCID" select="$LCID"/>
  1634.       </xsl:call-template>
  1635.     </xsl:variable>
  1636.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1637.   </xsl:template>
  1638.  
  1639.   
  1640.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1641.     <xsl:param name="LCID" />
  1642.     <xsl:variable name="_LCID">
  1643.       <xsl:call-template name="localLCID">
  1644.         <xsl:with-param name="LCID" select="$LCID"/>
  1645.       </xsl:call-template>
  1646.     </xsl:variable>
  1647.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1648.   </xsl:template>
  1649.  
  1650.   
  1651.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1652.     <xsl:param name="LCID" />
  1653.     <xsl:variable name="_LCID">
  1654.       <xsl:call-template name="localLCID">
  1655.         <xsl:with-param name="LCID" select="$LCID"/>
  1656.       </xsl:call-template>
  1657.     </xsl:variable>
  1658.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1659.   </xsl:template>
  1660.  
  1661.   
  1662.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1663.     <xsl:param name="LCID" />
  1664.     <xsl:variable name="_LCID">
  1665.       <xsl:call-template name="localLCID">
  1666.         <xsl:with-param name="LCID" select="$LCID"/>
  1667.       </xsl:call-template>
  1668.     </xsl:variable>
  1669.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1670.   </xsl:template>
  1671.  
  1672.   
  1673.   <xsl:template name="templ_str_ComposerCap" >
  1674.     <xsl:param name="LCID" />
  1675.     <xsl:variable name="_LCID">
  1676.       <xsl:call-template name="localLCID">
  1677.         <xsl:with-param name="LCID" select="$LCID"/>
  1678.       </xsl:call-template>
  1679.     </xsl:variable>
  1680.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1681.   </xsl:template>
  1682.  
  1683.   
  1684.   <xsl:template name="templ_str_ComposersCap" >
  1685.     <xsl:param name="LCID" />
  1686.     <xsl:variable name="_LCID">
  1687.       <xsl:call-template name="localLCID">
  1688.         <xsl:with-param name="LCID" select="$LCID"/>
  1689.       </xsl:call-template>
  1690.     </xsl:variable>
  1691.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1692.   </xsl:template>
  1693.  
  1694.   
  1695.   <xsl:template name="templ_str_ComposerShortCap" >
  1696.     <xsl:param name="LCID" />
  1697.     <xsl:variable name="_LCID">
  1698.       <xsl:call-template name="localLCID">
  1699.         <xsl:with-param name="LCID" select="$LCID"/>
  1700.       </xsl:call-template>
  1701.     </xsl:variable>
  1702.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1703.   </xsl:template>
  1704.  
  1705.   
  1706.   <xsl:template name="templ_str_ComposersShortCap" >
  1707.     <xsl:param name="LCID" />
  1708.     <xsl:variable name="_LCID">
  1709.       <xsl:call-template name="localLCID">
  1710.         <xsl:with-param name="LCID" select="$LCID"/>
  1711.       </xsl:call-template>
  1712.     </xsl:variable>
  1713.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1714.   </xsl:template>
  1715.  
  1716.   
  1717.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1718.     <xsl:param name="LCID" />
  1719.     <xsl:variable name="_LCID">
  1720.       <xsl:call-template name="localLCID">
  1721.         <xsl:with-param name="LCID" select="$LCID"/>
  1722.       </xsl:call-template>
  1723.     </xsl:variable>
  1724.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1725.   </xsl:template>
  1726.  
  1727.   
  1728.   <xsl:template name="templ_str_CompiledByCap" >
  1729.     <xsl:param name="LCID" />
  1730.     <xsl:variable name="_LCID">
  1731.       <xsl:call-template name="localLCID">
  1732.         <xsl:with-param name="LCID" select="$LCID"/>
  1733.       </xsl:call-template>
  1734.     </xsl:variable>
  1735.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1736.   </xsl:template>
  1737.  
  1738.   
  1739.   <xsl:template name="templ_str_CompiledByUnCap" >
  1740.     <xsl:param name="LCID" />
  1741.     <xsl:variable name="_LCID">
  1742.       <xsl:call-template name="localLCID">
  1743.         <xsl:with-param name="LCID" select="$LCID"/>
  1744.       </xsl:call-template>
  1745.     </xsl:variable>
  1746.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1747.   </xsl:template>
  1748.  
  1749.   
  1750.   <xsl:template name="templ_str_CompilerCap" >
  1751.     <xsl:param name="LCID" />
  1752.     <xsl:variable name="_LCID">
  1753.       <xsl:call-template name="localLCID">
  1754.         <xsl:with-param name="LCID" select="$LCID"/>
  1755.       </xsl:call-template>
  1756.     </xsl:variable>
  1757.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1758.   </xsl:template>
  1759.  
  1760.   
  1761.   <xsl:template name="templ_str_CompilersCap" >
  1762.     <xsl:param name="LCID" />
  1763.     <xsl:variable name="_LCID">
  1764.       <xsl:call-template name="localLCID">
  1765.         <xsl:with-param name="LCID" select="$LCID"/>
  1766.       </xsl:call-template>
  1767.     </xsl:variable>
  1768.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1769.   </xsl:template>
  1770.  
  1771.   
  1772.   <xsl:template name="templ_str_CompilerShortCap" >
  1773.     <xsl:param name="LCID" />
  1774.     <xsl:variable name="_LCID">
  1775.       <xsl:call-template name="localLCID">
  1776.         <xsl:with-param name="LCID" select="$LCID"/>
  1777.       </xsl:call-template>
  1778.     </xsl:variable>
  1779.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1780.   </xsl:template>
  1781.  
  1782.   
  1783.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1784.     <xsl:param name="LCID" />
  1785.     <xsl:variable name="_LCID">
  1786.       <xsl:call-template name="localLCID">
  1787.         <xsl:with-param name="LCID" select="$LCID"/>
  1788.       </xsl:call-template>
  1789.     </xsl:variable>
  1790.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1791.   </xsl:template>
  1792.  
  1793.   
  1794.   <xsl:template name="templ_str_CompilersShortCap" >
  1795.     <xsl:param name="LCID" />
  1796.     <xsl:variable name="_LCID">
  1797.       <xsl:call-template name="localLCID">
  1798.         <xsl:with-param name="LCID" select="$LCID"/>
  1799.       </xsl:call-template>
  1800.     </xsl:variable>
  1801.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1802.   </xsl:template>
  1803.  
  1804.   
  1805.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1806.     <xsl:param name="LCID" />
  1807.     <xsl:variable name="_LCID">
  1808.       <xsl:call-template name="localLCID">
  1809.         <xsl:with-param name="LCID" select="$LCID"/>
  1810.       </xsl:call-template>
  1811.     </xsl:variable>
  1812.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1813.   </xsl:template>
  1814.  
  1815.   
  1816.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1817.     <xsl:param name="LCID" />
  1818.     <xsl:variable name="_LCID">
  1819.       <xsl:call-template name="localLCID">
  1820.         <xsl:with-param name="LCID" select="$LCID"/>
  1821.       </xsl:call-template>
  1822.     </xsl:variable>
  1823.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1824.   </xsl:template>
  1825.  
  1826.  
  1827.   
  1828.  
  1829.   
  1830.   <xsl:template name="templ_prop_Culture" >
  1831.     <xsl:param name="LCID" />
  1832.     <xsl:variable name="_LCID">
  1833.       <xsl:call-template name="localLCID">
  1834.         <xsl:with-param name="LCID" select="$LCID"/>
  1835.       </xsl:call-template>
  1836.     </xsl:variable>
  1837.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1838.   </xsl:template>
  1839.  
  1840.   
  1841.   <xsl:template name="templ_prop_Direction" >
  1842.     <xsl:param name="LCID" />
  1843.     <xsl:variable name="_LCID">
  1844.       <xsl:call-template name="localLCID">
  1845.         <xsl:with-param name="LCID" select="$LCID"/>
  1846.       </xsl:call-template>
  1847.     </xsl:variable>
  1848.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1849.   </xsl:template>
  1850.  
  1851.  
  1852.   
  1853.  
  1854.   
  1855.   <xsl:template name="templ_prop_EndChars" >
  1856.     <xsl:param name="LCID" />
  1857.     <xsl:variable name="_LCID">
  1858.       <xsl:call-template name="localLCID">
  1859.         <xsl:with-param name="LCID" select="$LCID"/>
  1860.       </xsl:call-template>
  1861.     </xsl:variable>
  1862.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1863.   </xsl:template>
  1864.  
  1865.   
  1866.   <xsl:template name="templ_prop_NormalizeSpace" >
  1867.     <xsl:param name="LCID" />
  1868.     <xsl:variable name="_LCID">
  1869.       <xsl:call-template name="localLCID">
  1870.         <xsl:with-param name="LCID" select="$LCID"/>
  1871.       </xsl:call-template>
  1872.     </xsl:variable>
  1873.     <xsl:text>no</xsl:text>
  1874.     
  1875.   </xsl:template>
  1876.  
  1877.   
  1878.   <xsl:template name="templ_prop_Space" >
  1879.     <xsl:param name="LCID" />
  1880.     <xsl:variable name="_LCID">
  1881.       <xsl:call-template name="localLCID">
  1882.         <xsl:with-param name="LCID" select="$LCID"/>
  1883.       </xsl:call-template>
  1884.     </xsl:variable>
  1885.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  1886.   </xsl:template>
  1887.  
  1888.   
  1889.   <xsl:template name="templ_prop_NonBreakingSpace" >
  1890.     <xsl:param name="LCID" />
  1891.     <xsl:variable name="_LCID">
  1892.       <xsl:call-template name="localLCID">
  1893.         <xsl:with-param name="LCID" select="$LCID"/>
  1894.       </xsl:call-template>
  1895.     </xsl:variable>
  1896.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  1897.   </xsl:template>
  1898.  
  1899.   
  1900.   <xsl:template name="templ_prop_ListSeparator" >
  1901.     <xsl:param name="LCID" />
  1902.     <xsl:variable name="_LCID">
  1903.       <xsl:call-template name="localLCID">
  1904.         <xsl:with-param name="LCID" select="$LCID"/>
  1905.       </xsl:call-template>
  1906.     </xsl:variable>
  1907.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  1908.   </xsl:template>
  1909.  
  1910.   
  1911.   <xsl:template name="templ_prop_Dot" >
  1912.     <xsl:param name="LCID" />
  1913.     <xsl:variable name="_LCID">
  1914.       <xsl:call-template name="localLCID">
  1915.         <xsl:with-param name="LCID" select="$LCID"/>
  1916.       </xsl:call-template>
  1917.     </xsl:variable>
  1918.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  1919.   </xsl:template>
  1920.  
  1921.   
  1922.   <xsl:template name="templ_prop_DotInitial" >
  1923.     <xsl:param name="LCID" />
  1924.     <xsl:variable name="_LCID">
  1925.       <xsl:call-template name="localLCID">
  1926.         <xsl:with-param name="LCID" select="$LCID"/>
  1927.       </xsl:call-template>
  1928.     </xsl:variable>
  1929.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  1930.   </xsl:template>
  1931.  
  1932.   
  1933.   <xsl:template name="templ_prop_GroupSeparator" >
  1934.     <xsl:param name="LCID" />
  1935.     <xsl:variable name="_LCID">
  1936.       <xsl:call-template name="localLCID">
  1937.         <xsl:with-param name="LCID" select="$LCID"/>
  1938.       </xsl:call-template>
  1939.     </xsl:variable>
  1940.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  1941.   </xsl:template>
  1942.  
  1943.   
  1944.   <xsl:template name="templ_prop_EnumSeparator" >
  1945.     <xsl:param name="LCID" />
  1946.     <xsl:variable name="_LCID">
  1947.       <xsl:call-template name="localLCID">
  1948.         <xsl:with-param name="LCID" select="$LCID"/>
  1949.       </xsl:call-template>
  1950.     </xsl:variable>
  1951.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  1952.   </xsl:template>
  1953.  
  1954.   
  1955.   <xsl:template name="templ_prop_Equal" >
  1956.     <xsl:param name="LCID" />
  1957.     <xsl:variable name="_LCID">
  1958.       <xsl:call-template name="localLCID">
  1959.         <xsl:with-param name="LCID" select="$LCID"/>
  1960.       </xsl:call-template>
  1961.     </xsl:variable>
  1962.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  1963.   </xsl:template>
  1964.  
  1965.   
  1966.   <xsl:template name="templ_prop_Enum" >
  1967.     <xsl:param name="LCID" />
  1968.     <xsl:variable name="_LCID">
  1969.       <xsl:call-template name="localLCID">
  1970.         <xsl:with-param name="LCID" select="$LCID"/>
  1971.       </xsl:call-template>
  1972.     </xsl:variable>
  1973.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  1974.   </xsl:template>
  1975.  
  1976.   
  1977.   <xsl:template name="templ_prop_OpenQuote" >
  1978.     <xsl:param name="LCID" />
  1979.     <xsl:variable name="_LCID">
  1980.       <xsl:call-template name="localLCID">
  1981.         <xsl:with-param name="LCID" select="$LCID"/>
  1982.       </xsl:call-template>
  1983.     </xsl:variable>
  1984.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  1985.   </xsl:template>
  1986.  
  1987.   
  1988.   <xsl:template name="templ_prop_CloseQuote" >
  1989.     <xsl:param name="LCID" />
  1990.     <xsl:variable name="_LCID">
  1991.       <xsl:call-template name="localLCID">
  1992.         <xsl:with-param name="LCID" select="$LCID"/>
  1993.       </xsl:call-template>
  1994.     </xsl:variable>
  1995.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  1996.   </xsl:template>
  1997.  
  1998.   
  1999.   <xsl:template name="templ_prop_OpenBracket" >
  2000.     <xsl:param name="LCID" />
  2001.     <xsl:variable name="_LCID">
  2002.       <xsl:call-template name="localLCID">
  2003.         <xsl:with-param name="LCID" select="$LCID"/>
  2004.       </xsl:call-template>
  2005.     </xsl:variable>
  2006.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2007.   </xsl:template>
  2008.  
  2009.   
  2010.   <xsl:template name="templ_prop_CloseBracket" >
  2011.     <xsl:param name="LCID" />
  2012.     <xsl:variable name="_LCID">
  2013.       <xsl:call-template name="localLCID">
  2014.         <xsl:with-param name="LCID" select="$LCID"/>
  2015.       </xsl:call-template>
  2016.     </xsl:variable>
  2017.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2018.   </xsl:template>
  2019.  
  2020.   
  2021.   <xsl:template name="templ_prop_FromToDash" >
  2022.     <xsl:param name="LCID" />
  2023.     <xsl:variable name="_LCID">
  2024.       <xsl:call-template name="localLCID">
  2025.         <xsl:with-param name="LCID" select="$LCID"/>
  2026.       </xsl:call-template>
  2027.     </xsl:variable>
  2028.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2029.   </xsl:template>
  2030.  
  2031.   
  2032.   <xsl:template name="templ_prop_OpenLink" >
  2033.     <xsl:param name="LCID" />
  2034.     <xsl:variable name="_LCID">
  2035.       <xsl:call-template name="localLCID">
  2036.         <xsl:with-param name="LCID" select="$LCID"/>
  2037.       </xsl:call-template>
  2038.     </xsl:variable>
  2039.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2040.   </xsl:template>
  2041.  
  2042.   
  2043.   <xsl:template name="templ_prop_CloseLink" >
  2044.     <xsl:param name="LCID" />
  2045.     <xsl:variable name="_LCID">
  2046.       <xsl:call-template name="localLCID">
  2047.         <xsl:with-param name="LCID" select="$LCID"/>
  2048.       </xsl:call-template>
  2049.     </xsl:variable>
  2050.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2051.   </xsl:template>
  2052.  
  2053.   
  2054.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2055.     <xsl:param name="LCID" />
  2056.     <xsl:variable name="_LCID">
  2057.       <xsl:call-template name="localLCID">
  2058.         <xsl:with-param name="LCID" select="$LCID"/>
  2059.       </xsl:call-template>
  2060.     </xsl:variable>
  2061.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2062.   </xsl:template>
  2063.  
  2064.   
  2065.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2066.     <xsl:param name="LCID" />
  2067.     <xsl:variable name="_LCID">
  2068.       <xsl:call-template name="localLCID">
  2069.         <xsl:with-param name="LCID" select="$LCID"/>
  2070.       </xsl:call-template>
  2071.     </xsl:variable>
  2072.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2073.   </xsl:template>
  2074.  
  2075.   
  2076.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2077.     <xsl:param name="LCID" />
  2078.     <xsl:variable name="_LCID">
  2079.       <xsl:call-template name="localLCID">
  2080.         <xsl:with-param name="LCID" select="$LCID"/>
  2081.       </xsl:call-template>
  2082.     </xsl:variable>
  2083.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:F"/>
  2084.   </xsl:template>
  2085.  
  2086.   
  2087.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2088.     <xsl:param name="LCID" />
  2089.     <xsl:variable name="_LCID">
  2090.       <xsl:call-template name="localLCID">
  2091.         <xsl:with-param name="LCID" select="$LCID"/>
  2092.       </xsl:call-template>
  2093.     </xsl:variable>
  2094.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:M"/>
  2095.   </xsl:template>
  2096.  
  2097.   
  2098.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2099.     <xsl:param name="LCID" />
  2100.     <xsl:variable name="_LCID">
  2101.       <xsl:call-template name="localLCID">
  2102.         <xsl:with-param name="LCID" select="$LCID"/>
  2103.       </xsl:call-template>
  2104.     </xsl:variable>
  2105.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:L"/>
  2106.   </xsl:template>
  2107.  
  2108.   
  2109.   <xsl:template name="templ_prop_SimpleDate_D" >
  2110.     <xsl:param name="LCID" />
  2111.     <xsl:variable name="_LCID">
  2112.       <xsl:call-template name="localLCID">
  2113.         <xsl:with-param name="LCID" select="$LCID"/>
  2114.       </xsl:call-template>
  2115.     </xsl:variable>
  2116.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:D"/>
  2117.   </xsl:template>
  2118.  
  2119.   
  2120.   <xsl:template name="templ_prop_SimpleDate_M" >
  2121.     <xsl:param name="LCID" />
  2122.     <xsl:variable name="_LCID">
  2123.       <xsl:call-template name="localLCID">
  2124.         <xsl:with-param name="LCID" select="$LCID"/>
  2125.       </xsl:call-template>
  2126.     </xsl:variable>
  2127.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:M"/>
  2128.   </xsl:template>
  2129.  
  2130.   
  2131.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2132.     <xsl:param name="LCID" />
  2133.     <xsl:variable name="_LCID">
  2134.       <xsl:call-template name="localLCID">
  2135.         <xsl:with-param name="LCID" select="$LCID"/>
  2136.       </xsl:call-template>
  2137.     </xsl:variable>
  2138.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:Y"/>
  2139.   </xsl:template>
  2140.  
  2141.   
  2142.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2143.     <xsl:param name="LCID" />
  2144.     <xsl:variable name="_LCID">
  2145.       <xsl:call-template name="localLCID">
  2146.         <xsl:with-param name="LCID" select="$LCID"/>
  2147.       </xsl:call-template>
  2148.     </xsl:variable>
  2149.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2150.   </xsl:template>
  2151.  
  2152.   
  2153.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2154.     <xsl:param name="LCID" />
  2155.     <xsl:variable name="_LCID">
  2156.       <xsl:call-template name="localLCID">
  2157.         <xsl:with-param name="LCID" select="$LCID"/>
  2158.       </xsl:call-template>
  2159.     </xsl:variable>
  2160.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2161.   </xsl:template>
  2162.  
  2163.   
  2164.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2165.     <xsl:param name="LCID" />
  2166.     <xsl:variable name="_LCID">
  2167.       <xsl:call-template name="localLCID">
  2168.         <xsl:with-param name="LCID" select="$LCID"/>
  2169.       </xsl:call-template>
  2170.     </xsl:variable>
  2171.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2172.   </xsl:template>
  2173.  
  2174.   
  2175.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2176.     <xsl:param name="LCID" />
  2177.     <xsl:variable name="_LCID">
  2178.       <xsl:call-template name="localLCID">
  2179.         <xsl:with-param name="LCID" select="$LCID"/>
  2180.       </xsl:call-template>
  2181.     </xsl:variable>
  2182.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2183.   </xsl:template>
  2184.  
  2185.   
  2186.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2187.     <xsl:param name="LCID" />
  2188.     <xsl:variable name="_LCID">
  2189.       <xsl:call-template name="localLCID">
  2190.         <xsl:with-param name="LCID" select="$LCID"/>
  2191.       </xsl:call-template>
  2192.     </xsl:variable>
  2193.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2194.   </xsl:template>
  2195.  
  2196.   
  2197.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2198.     <xsl:param name="LCID" />
  2199.     <xsl:variable name="_LCID">
  2200.       <xsl:call-template name="localLCID">
  2201.         <xsl:with-param name="LCID" select="$LCID"/>
  2202.       </xsl:call-template>
  2203.     </xsl:variable>
  2204.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2205.   </xsl:template>
  2206.  
  2207.   
  2208.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2209.     <xsl:param name="LCID" />
  2210.     <xsl:variable name="_LCID">
  2211.       <xsl:call-template name="localLCID">
  2212.         <xsl:with-param name="LCID" select="$LCID"/>
  2213.       </xsl:call-template>
  2214.     </xsl:variable>
  2215.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2216.   </xsl:template>
  2217.  
  2218.   
  2219.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2220.     <xsl:param name="LCID" />
  2221.     <xsl:variable name="_LCID">
  2222.       <xsl:call-template name="localLCID">
  2223.         <xsl:with-param name="LCID" select="$LCID"/>
  2224.       </xsl:call-template>
  2225.     </xsl:variable>
  2226.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2227.   </xsl:template>
  2228.  
  2229.   
  2230.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2231.     <xsl:param name="LCID" />
  2232.     <xsl:variable name="_LCID">
  2233.       <xsl:call-template name="localLCID">
  2234.         <xsl:with-param name="LCID" select="$LCID"/>
  2235.       </xsl:call-template>
  2236.     </xsl:variable>
  2237.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2238.   </xsl:template>
  2239.  
  2240.   
  2241.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2242.     <xsl:param name="LCID" />
  2243.     <xsl:variable name="_LCID">
  2244.       <xsl:call-template name="localLCID">
  2245.         <xsl:with-param name="LCID" select="$LCID"/>
  2246.       </xsl:call-template>
  2247.     </xsl:variable>
  2248.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2249.   </xsl:template>
  2250.  
  2251.   
  2252.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2253.     <xsl:param name="LCID" />
  2254.     <xsl:variable name="_LCID">
  2255.       <xsl:call-template name="localLCID">
  2256.         <xsl:with-param name="LCID" select="$LCID"/>
  2257.       </xsl:call-template>
  2258.     </xsl:variable>
  2259.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2260.   </xsl:template>
  2261.  
  2262.   
  2263.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2264.     <xsl:param name="LCID" />
  2265.     <xsl:variable name="_LCID">
  2266.       <xsl:call-template name="localLCID">
  2267.         <xsl:with-param name="LCID" select="$LCID"/>
  2268.       </xsl:call-template>
  2269.     </xsl:variable>
  2270.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2271.   </xsl:template>
  2272.  
  2273.   
  2274.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2275.     <xsl:param name="LCID" />
  2276.     <xsl:variable name="_LCID">
  2277.       <xsl:call-template name="localLCID">
  2278.         <xsl:with-param name="LCID" select="$LCID"/>
  2279.       </xsl:call-template>
  2280.     </xsl:variable>
  2281.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2282.   </xsl:template>
  2283.  
  2284.   
  2285.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2286.     <xsl:param name="LCID" />
  2287.     <xsl:variable name="_LCID">
  2288.       <xsl:call-template name="localLCID">
  2289.         <xsl:with-param name="LCID" select="$LCID"/>
  2290.       </xsl:call-template>
  2291.     </xsl:variable>
  2292.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2293.   </xsl:template>
  2294.  
  2295.   
  2296.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2297.     <xsl:param name="LCID" />
  2298.     <xsl:variable name="_LCID">
  2299.       <xsl:call-template name="localLCID">
  2300.         <xsl:with-param name="LCID" select="$LCID"/>
  2301.       </xsl:call-template>
  2302.     </xsl:variable>
  2303.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2304.   </xsl:template>
  2305.  
  2306.   
  2307.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2308.     <xsl:param name="LCID" />
  2309.     <xsl:variable name="_LCID">
  2310.       <xsl:call-template name="localLCID">
  2311.         <xsl:with-param name="LCID" select="$LCID"/>
  2312.       </xsl:call-template>
  2313.     </xsl:variable>
  2314.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2315.   </xsl:template>
  2316.  
  2317.   
  2318.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2319.     <xsl:param name="LCID" />
  2320.     <xsl:variable name="_LCID">
  2321.       <xsl:call-template name="localLCID">
  2322.         <xsl:with-param name="LCID" select="$LCID"/>
  2323.       </xsl:call-template>
  2324.     </xsl:variable>
  2325.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2326.   </xsl:template>
  2327.  
  2328.   
  2329.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2330.     <xsl:param name="LCID" />
  2331.     <xsl:variable name="_LCID">
  2332.       <xsl:call-template name="localLCID">
  2333.         <xsl:with-param name="LCID" select="$LCID"/>
  2334.       </xsl:call-template>
  2335.     </xsl:variable>
  2336.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2337.   </xsl:template>
  2338.  
  2339.   
  2340.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2341.     <xsl:param name="LCID" />
  2342.     <xsl:variable name="_LCID">
  2343.       <xsl:call-template name="localLCID">
  2344.         <xsl:with-param name="LCID" select="$LCID"/>
  2345.       </xsl:call-template>
  2346.     </xsl:variable>
  2347.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2348.   </xsl:template>
  2349.  
  2350.   
  2351.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2352.     <xsl:param name="LCID" />
  2353.     <xsl:variable name="_LCID">
  2354.       <xsl:call-template name="localLCID">
  2355.         <xsl:with-param name="LCID" select="$LCID"/>
  2356.       </xsl:call-template>
  2357.     </xsl:variable>
  2358.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2359.   </xsl:template>
  2360.  
  2361.   
  2362.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2363.     <xsl:param name="LCID" />
  2364.     <xsl:variable name="_LCID">
  2365.       <xsl:call-template name="localLCID">
  2366.         <xsl:with-param name="LCID" select="$LCID"/>
  2367.       </xsl:call-template>
  2368.     </xsl:variable>
  2369.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2370.   </xsl:template>
  2371.  
  2372.   
  2373.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2374.     <xsl:param name="LCID" />
  2375.     <xsl:variable name="_LCID">
  2376.       <xsl:call-template name="localLCID">
  2377.         <xsl:with-param name="LCID" select="$LCID"/>
  2378.       </xsl:call-template>
  2379.     </xsl:variable>
  2380.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2381.   </xsl:template>
  2382.  
  2383.   
  2384.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2385.     <xsl:param name="LCID" />
  2386.     <xsl:variable name="_LCID">
  2387.       <xsl:call-template name="localLCID">
  2388.         <xsl:with-param name="LCID" select="$LCID"/>
  2389.       </xsl:call-template>
  2390.     </xsl:variable>
  2391.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2392.   </xsl:template>
  2393.  
  2394.   
  2395.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2396.     <xsl:param name="LCID" />
  2397.     <xsl:variable name="_LCID">
  2398.       <xsl:call-template name="localLCID">
  2399.         <xsl:with-param name="LCID" select="$LCID"/>
  2400.       </xsl:call-template>
  2401.     </xsl:variable>
  2402.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2403.   </xsl:template>
  2404.  
  2405.   
  2406.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2407.     <xsl:param name="LCID" />
  2408.     <xsl:variable name="_LCID">
  2409.       <xsl:call-template name="localLCID">
  2410.         <xsl:with-param name="LCID" select="$LCID"/>
  2411.       </xsl:call-template>
  2412.     </xsl:variable>
  2413.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2414.   </xsl:template>
  2415.  
  2416.   
  2417.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2418.     <xsl:param name="LCID" />
  2419.     <xsl:variable name="_LCID">
  2420.       <xsl:call-template name="localLCID">
  2421.         <xsl:with-param name="LCID" select="$LCID"/>
  2422.       </xsl:call-template>
  2423.     </xsl:variable>
  2424.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2425.   </xsl:template>
  2426.  
  2427.   
  2428.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2429.     <xsl:param name="LCID" />
  2430.     <xsl:variable name="_LCID">
  2431.       <xsl:call-template name="localLCID">
  2432.         <xsl:with-param name="LCID" select="$LCID"/>
  2433.       </xsl:call-template>
  2434.     </xsl:variable>
  2435.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2436.   </xsl:template>
  2437.  
  2438.   
  2439.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2440.     <xsl:param name="LCID" />
  2441.     <xsl:variable name="_LCID">
  2442.       <xsl:call-template name="localLCID">
  2443.         <xsl:with-param name="LCID" select="$LCID"/>
  2444.       </xsl:call-template>
  2445.     </xsl:variable>
  2446.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2447.   </xsl:template>
  2448.  
  2449.   
  2450.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2451.     <xsl:param name="LCID" />
  2452.     <xsl:variable name="_LCID">
  2453.       <xsl:call-template name="localLCID">
  2454.         <xsl:with-param name="LCID" select="$LCID"/>
  2455.       </xsl:call-template>
  2456.     </xsl:variable>
  2457.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2458.   </xsl:template>
  2459.  
  2460.   
  2461.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2462.     <xsl:param name="LCID" />
  2463.     <xsl:variable name="_LCID">
  2464.       <xsl:call-template name="localLCID">
  2465.         <xsl:with-param name="LCID" select="$LCID"/>
  2466.       </xsl:call-template>
  2467.     </xsl:variable>
  2468.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2469.   </xsl:template>
  2470.  
  2471.   
  2472.   <xsl:template name="templ_prop_Hyphens" >
  2473.     <xsl:param name="LCID" />
  2474.     <xsl:variable name="_LCID">
  2475.       <xsl:call-template name="localLCID">
  2476.         <xsl:with-param name="LCID" select="$LCID"/>
  2477.       </xsl:call-template>
  2478.     </xsl:variable>
  2479.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2480.   </xsl:template>
  2481.  
  2482.   
  2483.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2484.     <xsl:param name="LCID" />
  2485.     <xsl:variable name="_LCID">
  2486.       <xsl:call-template name="localLCID">
  2487.         <xsl:with-param name="LCID" select="$LCID"/>
  2488.       </xsl:call-template>
  2489.     </xsl:variable>
  2490.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2491.   </xsl:template>
  2492.  
  2493.   
  2494.   <xsl:template name="templ_prop_APA_Date_DM" >
  2495.     <xsl:param name="LCID" />
  2496.     <xsl:variable name="_LCID">
  2497.       <xsl:call-template name="localLCID">
  2498.         <xsl:with-param name="LCID" select="$LCID"/>
  2499.       </xsl:call-template>
  2500.     </xsl:variable>
  2501.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2502.   </xsl:template>
  2503.  
  2504.   
  2505.   <xsl:template name="templ_prop_APA_Date_MY" >
  2506.     <xsl:param name="LCID" />
  2507.     <xsl:variable name="_LCID">
  2508.       <xsl:call-template name="localLCID">
  2509.         <xsl:with-param name="LCID" select="$LCID"/>
  2510.       </xsl:call-template>
  2511.     </xsl:variable>
  2512.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2513.   </xsl:template>
  2514.  
  2515.   
  2516.   <xsl:template name="templ_prop_APA_Date_DY" >
  2517.     <xsl:param name="LCID" />
  2518.     <xsl:variable name="_LCID">
  2519.       <xsl:call-template name="localLCID">
  2520.         <xsl:with-param name="LCID" select="$LCID"/>
  2521.       </xsl:call-template>
  2522.     </xsl:variable>
  2523.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2524.   </xsl:template>
  2525.  
  2526.   
  2527.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2528.     <xsl:param name="LCID" />
  2529.     <xsl:variable name="_LCID">
  2530.       <xsl:call-template name="localLCID">
  2531.         <xsl:with-param name="LCID" select="$LCID"/>
  2532.       </xsl:call-template>
  2533.     </xsl:variable>
  2534.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2535.   </xsl:template>
  2536.  
  2537.   
  2538.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2539.     <xsl:param name="LCID" />
  2540.     <xsl:variable name="_LCID">
  2541.       <xsl:call-template name="localLCID">
  2542.         <xsl:with-param name="LCID" select="$LCID"/>
  2543.       </xsl:call-template>
  2544.     </xsl:variable>
  2545.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2546.   </xsl:template>
  2547.  
  2548.   
  2549.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2550.     <xsl:param name="LCID" />
  2551.     <xsl:variable name="_LCID">
  2552.       <xsl:call-template name="localLCID">
  2553.         <xsl:with-param name="LCID" select="$LCID"/>
  2554.       </xsl:call-template>
  2555.     </xsl:variable>
  2556.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2557.   </xsl:template>
  2558.  
  2559.   
  2560.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2561.     <xsl:param name="LCID" />
  2562.     <xsl:variable name="_LCID">
  2563.       <xsl:call-template name="localLCID">
  2564.         <xsl:with-param name="LCID" select="$LCID"/>
  2565.       </xsl:call-template>
  2566.     </xsl:variable>
  2567.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2568.   </xsl:template>
  2569.  
  2570.   
  2571.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2572.     <xsl:param name="LCID" />
  2573.     <xsl:variable name="_LCID">
  2574.       <xsl:call-template name="localLCID">
  2575.         <xsl:with-param name="LCID" select="$LCID"/>
  2576.       </xsl:call-template>
  2577.     </xsl:variable>
  2578.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2579.   </xsl:template>
  2580.  
  2581.   
  2582.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2583.     <xsl:param name="LCID" />
  2584.     <xsl:variable name="_LCID">
  2585.       <xsl:call-template name="localLCID">
  2586.         <xsl:with-param name="LCID" select="$LCID"/>
  2587.       </xsl:call-template>
  2588.     </xsl:variable>
  2589.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2590.   </xsl:template>
  2591.  
  2592.   
  2593.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2594.     <xsl:param name="LCID" />
  2595.     <xsl:variable name="_LCID">
  2596.       <xsl:call-template name="localLCID">
  2597.         <xsl:with-param name="LCID" select="$LCID"/>
  2598.       </xsl:call-template>
  2599.     </xsl:variable>
  2600.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2601.   </xsl:template>
  2602.  
  2603.   
  2604.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2605.     <xsl:param name="LCID" />
  2606.     <xsl:variable name="_LCID">
  2607.       <xsl:call-template name="localLCID">
  2608.         <xsl:with-param name="LCID" select="$LCID"/>
  2609.       </xsl:call-template>
  2610.     </xsl:variable>
  2611.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2612.   </xsl:template>
  2613.  
  2614.   
  2615.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2616.     <xsl:param name="LCID" />
  2617.     <xsl:variable name="_LCID">
  2618.       <xsl:call-template name="localLCID">
  2619.         <xsl:with-param name="LCID" select="$LCID"/>
  2620.       </xsl:call-template>
  2621.     </xsl:variable>
  2622.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2623.   </xsl:template>
  2624.  
  2625.   
  2626.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2627.     <xsl:param name="LCID" />
  2628.     <xsl:variable name="_LCID">
  2629.       <xsl:call-template name="localLCID">
  2630.         <xsl:with-param name="LCID" select="$LCID"/>
  2631.       </xsl:call-template>
  2632.     </xsl:variable>
  2633.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2634.   </xsl:template>
  2635.  
  2636.   
  2637.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2638.     <xsl:param name="LCID" />
  2639.     <xsl:variable name="_LCID">
  2640.       <xsl:call-template name="localLCID">
  2641.         <xsl:with-param name="LCID" select="$LCID"/>
  2642.       </xsl:call-template>
  2643.     </xsl:variable>
  2644.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2645.   </xsl:template>
  2646.  
  2647.   
  2648.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2649.     <xsl:param name="LCID" />
  2650.     <xsl:variable name="_LCID">
  2651.       <xsl:call-template name="localLCID">
  2652.         <xsl:with-param name="LCID" select="$LCID"/>
  2653.       </xsl:call-template>
  2654.     </xsl:variable>
  2655.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2656.   </xsl:template>
  2657.  
  2658.   
  2659.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2660.     <xsl:param name="LCID" />
  2661.     <xsl:variable name="_LCID">
  2662.       <xsl:call-template name="localLCID">
  2663.         <xsl:with-param name="LCID" select="$LCID"/>
  2664.       </xsl:call-template>
  2665.     </xsl:variable>
  2666.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2667.   </xsl:template>
  2668.  
  2669.   
  2670.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2671.     <xsl:param name="LCID" />
  2672.     <xsl:variable name="_LCID">
  2673.       <xsl:call-template name="localLCID">
  2674.         <xsl:with-param name="LCID" select="$LCID"/>
  2675.       </xsl:call-template>
  2676.     </xsl:variable>
  2677.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2678.   </xsl:template>
  2679.  
  2680.   
  2681.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2682.     <xsl:param name="LCID" />
  2683.     <xsl:variable name="_LCID">
  2684.       <xsl:call-template name="localLCID">
  2685.         <xsl:with-param name="LCID" select="$LCID"/>
  2686.       </xsl:call-template>
  2687.     </xsl:variable>
  2688.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2689.   </xsl:template>
  2690.  
  2691.   
  2692.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2693.     <xsl:param name="LCID" />
  2694.     <xsl:variable name="_LCID">
  2695.       <xsl:call-template name="localLCID">
  2696.         <xsl:with-param name="LCID" select="$LCID"/>
  2697.       </xsl:call-template>
  2698.     </xsl:variable>
  2699.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2700.   </xsl:template>
  2701.  
  2702.   
  2703.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2704.     <xsl:param name="LCID" />
  2705.     <xsl:variable name="_LCID">
  2706.       <xsl:call-template name="localLCID">
  2707.         <xsl:with-param name="LCID" select="$LCID"/>
  2708.       </xsl:call-template>
  2709.     </xsl:variable>
  2710.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2711.   </xsl:template>
  2712.  
  2713.   
  2714.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2715.     <xsl:param name="LCID" />
  2716.     <xsl:variable name="_LCID">
  2717.       <xsl:call-template name="localLCID">
  2718.         <xsl:with-param name="LCID" select="$LCID"/>
  2719.       </xsl:call-template>
  2720.     </xsl:variable>
  2721.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2722.   </xsl:template>
  2723.  
  2724.   
  2725.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2726.     <xsl:param name="LCID" />
  2727.     <xsl:variable name="_LCID">
  2728.       <xsl:call-template name="localLCID">
  2729.         <xsl:with-param name="LCID" select="$LCID"/>
  2730.       </xsl:call-template>
  2731.     </xsl:variable>
  2732.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2733.   </xsl:template>
  2734.  
  2735.   
  2736.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2737.     <xsl:param name="LCID" />
  2738.     <xsl:variable name="_LCID">
  2739.       <xsl:call-template name="localLCID">
  2740.         <xsl:with-param name="LCID" select="$LCID"/>
  2741.       </xsl:call-template>
  2742.     </xsl:variable>
  2743.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2744.   </xsl:template>
  2745.  
  2746.   
  2747.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2748.     <xsl:param name="LCID" />
  2749.     <xsl:variable name="_LCID">
  2750.       <xsl:call-template name="localLCID">
  2751.         <xsl:with-param name="LCID" select="$LCID"/>
  2752.       </xsl:call-template>
  2753.     </xsl:variable>
  2754.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2755.   </xsl:template>
  2756.  
  2757.   
  2758.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2759.     <xsl:param name="LCID" />
  2760.     <xsl:variable name="_LCID">
  2761.       <xsl:call-template name="localLCID">
  2762.         <xsl:with-param name="LCID" select="$LCID"/>
  2763.       </xsl:call-template>
  2764.     </xsl:variable>
  2765.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2766.   </xsl:template>
  2767.  
  2768.   
  2769.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2770.     <xsl:param name="LCID" />
  2771.     <xsl:variable name="_LCID">
  2772.       <xsl:call-template name="localLCID">
  2773.         <xsl:with-param name="LCID" select="$LCID"/>
  2774.       </xsl:call-template>
  2775.     </xsl:variable>
  2776.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2777.   </xsl:template>
  2778.  
  2779.   
  2780.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2781.     <xsl:param name="LCID" />
  2782.     <xsl:variable name="_LCID">
  2783.       <xsl:call-template name="localLCID">
  2784.         <xsl:with-param name="LCID" select="$LCID"/>
  2785.       </xsl:call-template>
  2786.     </xsl:variable>
  2787.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2788.   </xsl:template>
  2789.  
  2790.   
  2791.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2792.     <xsl:param name="LCID" />
  2793.     <xsl:variable name="_LCID">
  2794.       <xsl:call-template name="localLCID">
  2795.         <xsl:with-param name="LCID" select="$LCID"/>
  2796.       </xsl:call-template>
  2797.     </xsl:variable>
  2798.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2799.   </xsl:template>
  2800.  
  2801.   
  2802.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2803.     <xsl:param name="LCID" />
  2804.     <xsl:variable name="_LCID">
  2805.       <xsl:call-template name="localLCID">
  2806.         <xsl:with-param name="LCID" select="$LCID"/>
  2807.       </xsl:call-template>
  2808.     </xsl:variable>
  2809.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2810.   </xsl:template>
  2811.  
  2812.   
  2813.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2814.     <xsl:param name="LCID" />
  2815.     <xsl:variable name="_LCID">
  2816.       <xsl:call-template name="localLCID">
  2817.         <xsl:with-param name="LCID" select="$LCID"/>
  2818.       </xsl:call-template>
  2819.     </xsl:variable>
  2820.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2821.   </xsl:template>
  2822.  
  2823.   
  2824.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2825.     <xsl:param name="LCID" />
  2826.     <xsl:variable name="_LCID">
  2827.       <xsl:call-template name="localLCID">
  2828.         <xsl:with-param name="LCID" select="$LCID"/>
  2829.       </xsl:call-template>
  2830.     </xsl:variable>
  2831.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2832.   </xsl:template>
  2833.  
  2834.   
  2835.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2836.     <xsl:param name="LCID" />
  2837.     <xsl:variable name="_LCID">
  2838.       <xsl:call-template name="localLCID">
  2839.         <xsl:with-param name="LCID" select="$LCID"/>
  2840.       </xsl:call-template>
  2841.     </xsl:variable>
  2842.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2843.   </xsl:template>
  2844.  
  2845.   
  2846.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2847.     <xsl:param name="LCID" />
  2848.     <xsl:variable name="_LCID">
  2849.       <xsl:call-template name="localLCID">
  2850.         <xsl:with-param name="LCID" select="$LCID"/>
  2851.       </xsl:call-template>
  2852.     </xsl:variable>
  2853.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2854.   </xsl:template>
  2855.  
  2856.   
  2857.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2858.     <xsl:param name="LCID" />
  2859.     <xsl:variable name="_LCID">
  2860.       <xsl:call-template name="localLCID">
  2861.         <xsl:with-param name="LCID" select="$LCID"/>
  2862.       </xsl:call-template>
  2863.     </xsl:variable>
  2864.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2865.   </xsl:template>
  2866.  
  2867.   
  2868.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2869.     <xsl:param name="LCID" />
  2870.     <xsl:variable name="_LCID">
  2871.       <xsl:call-template name="localLCID">
  2872.         <xsl:with-param name="LCID" select="$LCID"/>
  2873.       </xsl:call-template>
  2874.     </xsl:variable>
  2875.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2876.   </xsl:template>
  2877.  
  2878.   
  2879.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2880.     <xsl:param name="LCID" />
  2881.     <xsl:variable name="_LCID">
  2882.       <xsl:call-template name="localLCID">
  2883.         <xsl:with-param name="LCID" select="$LCID"/>
  2884.       </xsl:call-template>
  2885.     </xsl:variable>
  2886.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2887.   </xsl:template>
  2888.  
  2889.   
  2890.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2891.     <xsl:param name="LCID" />
  2892.     <xsl:variable name="_LCID">
  2893.       <xsl:call-template name="localLCID">
  2894.         <xsl:with-param name="LCID" select="$LCID"/>
  2895.       </xsl:call-template>
  2896.     </xsl:variable>
  2897.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  2898.   </xsl:template>
  2899.  
  2900.   
  2901.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  2902.     <xsl:param name="LCID" />
  2903.     <xsl:variable name="_LCID">
  2904.       <xsl:call-template name="localLCID">
  2905.         <xsl:with-param name="LCID" select="$LCID"/>
  2906.       </xsl:call-template>
  2907.     </xsl:variable>
  2908.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  2909.   </xsl:template>
  2910.  
  2911.   
  2912.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  2913.     <xsl:param name="LCID" />
  2914.     <xsl:variable name="_LCID">
  2915.       <xsl:call-template name="localLCID">
  2916.         <xsl:with-param name="LCID" select="$LCID"/>
  2917.       </xsl:call-template>
  2918.     </xsl:variable>
  2919.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  2920.   </xsl:template>
  2921.  
  2922.   
  2923.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  2924.     <xsl:param name="LCID" />
  2925.     <xsl:variable name="_LCID">
  2926.       <xsl:call-template name="localLCID">
  2927.         <xsl:with-param name="LCID" select="$LCID"/>
  2928.       </xsl:call-template>
  2929.     </xsl:variable>
  2930.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  2931.   </xsl:template>
  2932.  
  2933.   
  2934.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  2935.     <xsl:param name="LCID" />
  2936.     <xsl:variable name="_LCID">
  2937.       <xsl:call-template name="localLCID">
  2938.         <xsl:with-param name="LCID" select="$LCID"/>
  2939.       </xsl:call-template>
  2940.     </xsl:variable>
  2941.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  2942.   </xsl:template>
  2943.  
  2944.   
  2945.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  2946.     <xsl:param name="LCID" />
  2947.     <xsl:variable name="_LCID">
  2948.       <xsl:call-template name="localLCID">
  2949.         <xsl:with-param name="LCID" select="$LCID"/>
  2950.       </xsl:call-template>
  2951.     </xsl:variable>
  2952.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  2953.   </xsl:template>
  2954.  
  2955.   
  2956.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  2957.     <xsl:param name="LCID" />
  2958.     <xsl:variable name="_LCID">
  2959.       <xsl:call-template name="localLCID">
  2960.         <xsl:with-param name="LCID" select="$LCID"/>
  2961.       </xsl:call-template>
  2962.     </xsl:variable>
  2963.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  2964.   </xsl:template>
  2965.  
  2966.   
  2967.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  2968.     <xsl:param name="LCID" />
  2969.     <xsl:variable name="_LCID">
  2970.       <xsl:call-template name="localLCID">
  2971.         <xsl:with-param name="LCID" select="$LCID"/>
  2972.       </xsl:call-template>
  2973.     </xsl:variable>
  2974.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  2975.   </xsl:template>
  2976.  
  2977.   
  2978.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  2979.     <xsl:param name="LCID" />
  2980.     <xsl:variable name="_LCID">
  2981.       <xsl:call-template name="localLCID">
  2982.         <xsl:with-param name="LCID" select="$LCID"/>
  2983.       </xsl:call-template>
  2984.     </xsl:variable>
  2985.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  2986.   </xsl:template>
  2987.  
  2988.   
  2989.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  2990.     <xsl:param name="LCID" />
  2991.     <xsl:variable name="_LCID">
  2992.       <xsl:call-template name="localLCID">
  2993.         <xsl:with-param name="LCID" select="$LCID"/>
  2994.       </xsl:call-template>
  2995.     </xsl:variable>
  2996.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  2997.   </xsl:template>
  2998.  
  2999.   
  3000.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3001.     <xsl:param name="LCID" />
  3002.     <xsl:variable name="_LCID">
  3003.       <xsl:call-template name="localLCID">
  3004.         <xsl:with-param name="LCID" select="$LCID"/>
  3005.       </xsl:call-template>
  3006.     </xsl:variable>
  3007.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3008.   </xsl:template>
  3009.  
  3010.   
  3011.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3012.     <xsl:param name="LCID" />
  3013.     <xsl:variable name="_LCID">
  3014.       <xsl:call-template name="localLCID">
  3015.         <xsl:with-param name="LCID" select="$LCID"/>
  3016.       </xsl:call-template>
  3017.     </xsl:variable>
  3018.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3019.   </xsl:template>
  3020.  
  3021.   
  3022.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3023.     <xsl:param name="LCID" />
  3024.     <xsl:variable name="_LCID">
  3025.       <xsl:call-template name="localLCID">
  3026.         <xsl:with-param name="LCID" select="$LCID"/>
  3027.       </xsl:call-template>
  3028.     </xsl:variable>
  3029.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3030.   </xsl:template>
  3031.  
  3032.   
  3033.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3034.     <xsl:param name="LCID" />
  3035.     <xsl:variable name="_LCID">
  3036.       <xsl:call-template name="localLCID">
  3037.         <xsl:with-param name="LCID" select="$LCID"/>
  3038.       </xsl:call-template>
  3039.     </xsl:variable>
  3040.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3041.   </xsl:template>
  3042.  
  3043.   
  3044.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3045.     <xsl:param name="LCID" />
  3046.     <xsl:variable name="_LCID">
  3047.       <xsl:call-template name="localLCID">
  3048.         <xsl:with-param name="LCID" select="$LCID"/>
  3049.       </xsl:call-template>
  3050.     </xsl:variable>
  3051.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3052.   </xsl:template>
  3053.  
  3054.   
  3055.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3056.     <xsl:param name="LCID" />
  3057.     <xsl:variable name="_LCID">
  3058.       <xsl:call-template name="localLCID">
  3059.         <xsl:with-param name="LCID" select="$LCID"/>
  3060.       </xsl:call-template>
  3061.     </xsl:variable>
  3062.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3063.   </xsl:template>
  3064.  
  3065.   
  3066.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3067.     <xsl:param name="LCID" />
  3068.     <xsl:variable name="_LCID">
  3069.       <xsl:call-template name="localLCID">
  3070.         <xsl:with-param name="LCID" select="$LCID"/>
  3071.       </xsl:call-template>
  3072.     </xsl:variable>
  3073.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3074.   </xsl:template>
  3075.  
  3076.   
  3077.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3078.     <xsl:param name="LCID" />
  3079.     <xsl:variable name="_LCID">
  3080.       <xsl:call-template name="localLCID">
  3081.         <xsl:with-param name="LCID" select="$LCID"/>
  3082.       </xsl:call-template>
  3083.     </xsl:variable>
  3084.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3085.   </xsl:template>
  3086.  
  3087.   
  3088.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3089.     <xsl:param name="LCID" />
  3090.     <xsl:variable name="_LCID">
  3091.       <xsl:call-template name="localLCID">
  3092.         <xsl:with-param name="LCID" select="$LCID"/>
  3093.       </xsl:call-template>
  3094.     </xsl:variable>
  3095.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3096.   </xsl:template>
  3097.  
  3098.   
  3099.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3100.     <xsl:param name="LCID" />
  3101.     <xsl:variable name="_LCID">
  3102.       <xsl:call-template name="localLCID">
  3103.         <xsl:with-param name="LCID" select="$LCID"/>
  3104.       </xsl:call-template>
  3105.     </xsl:variable>
  3106.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3107.   </xsl:template>
  3108.  
  3109.   
  3110.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3111.     <xsl:param name="LCID" />
  3112.     <xsl:variable name="_LCID">
  3113.       <xsl:call-template name="localLCID">
  3114.         <xsl:with-param name="LCID" select="$LCID"/>
  3115.       </xsl:call-template>
  3116.     </xsl:variable>
  3117.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3118.   </xsl:template>
  3119.  
  3120.   
  3121.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3122.     <xsl:param name="LCID" />
  3123.     <xsl:variable name="_LCID">
  3124.       <xsl:call-template name="localLCID">
  3125.         <xsl:with-param name="LCID" select="$LCID"/>
  3126.       </xsl:call-template>
  3127.     </xsl:variable>
  3128.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3129.   </xsl:template>
  3130.  
  3131.   
  3132.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3133.     <xsl:param name="LCID" />
  3134.     <xsl:variable name="_LCID">
  3135.       <xsl:call-template name="localLCID">
  3136.         <xsl:with-param name="LCID" select="$LCID"/>
  3137.       </xsl:call-template>
  3138.     </xsl:variable>
  3139.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3140.   </xsl:template>
  3141.  
  3142.   
  3143.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3144.     <xsl:param name="LCID" />
  3145.     <xsl:variable name="_LCID">
  3146.       <xsl:call-template name="localLCID">
  3147.         <xsl:with-param name="LCID" select="$LCID"/>
  3148.       </xsl:call-template>
  3149.     </xsl:variable>
  3150.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3151.   </xsl:template>
  3152.  
  3153.   
  3154.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3155.     <xsl:param name="LCID" />
  3156.     <xsl:variable name="_LCID">
  3157.       <xsl:call-template name="localLCID">
  3158.         <xsl:with-param name="LCID" select="$LCID"/>
  3159.       </xsl:call-template>
  3160.     </xsl:variable>
  3161.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3162.   </xsl:template>
  3163.  
  3164.   
  3165.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3166.     <xsl:param name="LCID" />
  3167.     <xsl:variable name="_LCID">
  3168.       <xsl:call-template name="localLCID">
  3169.         <xsl:with-param name="LCID" select="$LCID"/>
  3170.       </xsl:call-template>
  3171.     </xsl:variable>
  3172.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3173.   </xsl:template>
  3174.  
  3175.   
  3176.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3177.     <xsl:param name="LCID" />
  3178.     <xsl:variable name="_LCID">
  3179.       <xsl:call-template name="localLCID">
  3180.         <xsl:with-param name="LCID" select="$LCID"/>
  3181.       </xsl:call-template>
  3182.     </xsl:variable>
  3183.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3184.   </xsl:template>
  3185.  
  3186.   
  3187.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3188.     <xsl:param name="LCID" />
  3189.     <xsl:variable name="_LCID">
  3190.       <xsl:call-template name="localLCID">
  3191.         <xsl:with-param name="LCID" select="$LCID"/>
  3192.       </xsl:call-template>
  3193.     </xsl:variable>
  3194.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3195.   </xsl:template>
  3196.  
  3197.   
  3198.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3199.     <xsl:param name="LCID" />
  3200.     <xsl:variable name="_LCID">
  3201.       <xsl:call-template name="localLCID">
  3202.         <xsl:with-param name="LCID" select="$LCID"/>
  3203.       </xsl:call-template>
  3204.     </xsl:variable>
  3205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3206.   </xsl:template>
  3207.  
  3208.   
  3209.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3210.     <xsl:param name="LCID" />
  3211.     <xsl:variable name="_LCID">
  3212.       <xsl:call-template name="localLCID">
  3213.         <xsl:with-param name="LCID" select="$LCID"/>
  3214.       </xsl:call-template>
  3215.     </xsl:variable>
  3216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3217.   </xsl:template>
  3218.  
  3219.   
  3220.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3221.     <xsl:param name="LCID" />
  3222.     <xsl:variable name="_LCID">
  3223.       <xsl:call-template name="localLCID">
  3224.         <xsl:with-param name="LCID" select="$LCID"/>
  3225.       </xsl:call-template>
  3226.     </xsl:variable>
  3227.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3228.   </xsl:template>
  3229.  
  3230.   
  3231.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3232.     <xsl:param name="LCID" />
  3233.     <xsl:variable name="_LCID">
  3234.       <xsl:call-template name="localLCID">
  3235.         <xsl:with-param name="LCID" select="$LCID"/>
  3236.       </xsl:call-template>
  3237.     </xsl:variable>
  3238.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3239.   </xsl:template>
  3240.  
  3241.   
  3242.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3243.     <xsl:param name="LCID" />
  3244.     <xsl:variable name="_LCID">
  3245.       <xsl:call-template name="localLCID">
  3246.         <xsl:with-param name="LCID" select="$LCID"/>
  3247.       </xsl:call-template>
  3248.     </xsl:variable>
  3249.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3250.   </xsl:template>
  3251.  
  3252.   
  3253.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3254.     <xsl:param name="LCID" />
  3255.     <xsl:variable name="_LCID">
  3256.       <xsl:call-template name="localLCID">
  3257.         <xsl:with-param name="LCID" select="$LCID"/>
  3258.       </xsl:call-template>
  3259.     </xsl:variable>
  3260.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3261.   </xsl:template>
  3262.  
  3263.   
  3264.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3265.     <xsl:param name="LCID" />
  3266.     <xsl:variable name="_LCID">
  3267.       <xsl:call-template name="localLCID">
  3268.         <xsl:with-param name="LCID" select="$LCID"/>
  3269.       </xsl:call-template>
  3270.     </xsl:variable>
  3271.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3272.   </xsl:template>
  3273.  
  3274.   
  3275.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3276.     <xsl:param name="LCID" />
  3277.     <xsl:variable name="_LCID">
  3278.       <xsl:call-template name="localLCID">
  3279.         <xsl:with-param name="LCID" select="$LCID"/>
  3280.       </xsl:call-template>
  3281.     </xsl:variable>
  3282.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3283.   </xsl:template>
  3284.  
  3285.   
  3286.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3287.     <xsl:param name="LCID" />
  3288.     <xsl:variable name="_LCID">
  3289.       <xsl:call-template name="localLCID">
  3290.         <xsl:with-param name="LCID" select="$LCID"/>
  3291.       </xsl:call-template>
  3292.     </xsl:variable>
  3293.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3294.   </xsl:template>
  3295.  
  3296.   
  3297.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3298.     <xsl:param name="LCID" />
  3299.     <xsl:variable name="_LCID">
  3300.       <xsl:call-template name="localLCID">
  3301.         <xsl:with-param name="LCID" select="$LCID"/>
  3302.       </xsl:call-template>
  3303.     </xsl:variable>
  3304.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3305.   </xsl:template>
  3306.  
  3307.   
  3308.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3309.     <xsl:param name="LCID" />
  3310.     <xsl:variable name="_LCID">
  3311.       <xsl:call-template name="localLCID">
  3312.         <xsl:with-param name="LCID" select="$LCID"/>
  3313.       </xsl:call-template>
  3314.     </xsl:variable>
  3315.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3316.   </xsl:template>
  3317.  
  3318.   
  3319.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3320.     <xsl:param name="LCID" />
  3321.     <xsl:variable name="_LCID">
  3322.       <xsl:call-template name="localLCID">
  3323.         <xsl:with-param name="LCID" select="$LCID"/>
  3324.       </xsl:call-template>
  3325.     </xsl:variable>
  3326.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3327.   </xsl:template>
  3328.  
  3329.   
  3330.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3331.     <xsl:param name="LCID" />
  3332.     <xsl:variable name="_LCID">
  3333.       <xsl:call-template name="localLCID">
  3334.         <xsl:with-param name="LCID" select="$LCID"/>
  3335.       </xsl:call-template>
  3336.     </xsl:variable>
  3337.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3338.   </xsl:template>
  3339.  
  3340.   
  3341.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3342.     <xsl:param name="LCID" />
  3343.     <xsl:variable name="_LCID">
  3344.       <xsl:call-template name="localLCID">
  3345.         <xsl:with-param name="LCID" select="$LCID"/>
  3346.       </xsl:call-template>
  3347.     </xsl:variable>
  3348.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3349.   </xsl:template>
  3350.  
  3351.  
  3352.       
  3353.  
  3354.  
  3355. <xsl:variable name="constGost_CitationOpen">
  3356.     <xsl:call-template name="templ_prop_OpenBracket" />
  3357.      
  3358. </xsl:variable>
  3359. <xsl:variable name="constGost_CitationClose">
  3360.     <xsl:call-template name="templ_prop_CloseBracket" />
  3361.      
  3362. </xsl:variable>
  3363. <xsl:variable name="constGost_CitationNamePartsSeparator">
  3364.     <xsl:call-template name="templ_prop_Space" />
  3365.      
  3366. </xsl:variable>
  3367. <xsl:variable name="constGost_CitationNameAndOther">
  3368.     <xsl:call-template name="templ_prop_Space" />
  3369.     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3370.      
  3371. </xsl:variable>
  3372. <xsl:variable name="constGost_CitationAuthorYearSeparator">
  3373.     <xsl:call-template name="templ_prop_ListSeparator" />
  3374.      
  3375. </xsl:variable>
  3376. <xsl:variable name="constGost_CitationAuthorOrYearVolumeSeparator">
  3377.     <xsl:call-template name="templ_prop_Space" />
  3378.      
  3379. </xsl:variable>
  3380. <xsl:variable name="constGost_CitationVolumeFooter">
  3381.     <xsl:call-template name="templ_prop_Enum" />
  3382.      
  3383. </xsl:variable>
  3384. <xsl:variable name="constGost_CitationPageHeader">
  3385.     <xsl:call-template name="templ_prop_Space" />
  3386.     <xsl:call-template name="templ_str_PageShort"/>
  3387.     <xsl:call-template name="templ_prop_Space" />
  3388.      
  3389. </xsl:variable>
  3390. <xsl:variable name="constGost_CitationVolumeHeader">
  3391.     <xsl:call-template name="templ_prop_ListSeparator" />
  3392.      
  3393. </xsl:variable>
  3394. <xsl:variable name="constGost_CitationVolumeStringVolumeSeparator">
  3395.     <xsl:call-template name="templ_prop_Space" />
  3396.      
  3397. </xsl:variable>
  3398. <xsl:variable name="constGost_CitationAuthorSeparator">
  3399.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3400.      
  3401. </xsl:variable>
  3402. <xsl:variable name="constGost_SourceTypeOpen">
  3403.     <xsl:call-template name="templ_prop_Space" />
  3404.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3405.      
  3406. </xsl:variable>
  3407. <xsl:variable name="constGost_SourceTypeClose">
  3408.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3409.      
  3410. </xsl:variable>
  3411. <xsl:variable name="constGost_PrimaryResponsibilitiesOpen">
  3412.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3413.      
  3414. </xsl:variable>
  3415. <xsl:variable name="constGost_PrimaryResponsibilitiesClose">
  3416.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3417.      
  3418. </xsl:variable>
  3419. <xsl:variable name="constGost_TitleHeader">
  3420.     <xsl:call-template name="templ_prop_Space" />
  3421.      
  3422. </xsl:variable>
  3423. <xsl:variable name="constGost_TitlePrefixTitleSeparator">
  3424.     <xsl:call-template name="templ_prop_Space" />
  3425.      
  3426. </xsl:variable>
  3427. <xsl:variable name="constGost_NamePartsSeparator">
  3428.     <xsl:call-template name="templ_prop_Space" />
  3429.      
  3430. </xsl:variable>
  3431. <xsl:variable name="constGost_PersonSeparator">
  3432.     <xsl:call-template name="templ_prop_ListSeparator" />
  3433.      
  3434. </xsl:variable>
  3435. <xsl:variable name="constGost_PersonAndOther">
  3436.     <xsl:call-template name="templ_prop_Space" />
  3437.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3438.     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3439.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3440.      
  3441. </xsl:variable>
  3442. <xsl:variable name="constGost_SemiColonSeparatedItemsSeparator">
  3443.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3444.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3445.      
  3446. </xsl:variable>
  3447. <xsl:variable name="constGost_PrimaryResponsibilitiesSeparator">
  3448.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3449.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3450.      
  3451. </xsl:variable>
  3452. <xsl:variable name="constGost_PrimaryResponsibilitiesHeader">
  3453.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3454.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3455.     <xsl:call-template name="templ_prop_Space" />
  3456.      
  3457. </xsl:variable>
  3458. <xsl:variable name="constGost_CollectionNameHeader">
  3459.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3460.     <xsl:call-template name="templ_prop_Gost_TwoSlash" />
  3461.     <xsl:call-template name="templ_prop_Space" />
  3462.      
  3463. </xsl:variable>
  3464. <xsl:variable name="constGost_SecondaryResponsibilitiesHeader">
  3465.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3466.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3467.     <xsl:call-template name="templ_prop_Space" />
  3468.      
  3469. </xsl:variable>
  3470. <xsl:variable name="constGost_SecondaryResponsibilitiesSeparator">
  3471.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3472.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  3473.     <xsl:call-template name="templ_prop_Space" />
  3474.      
  3475. </xsl:variable>
  3476. <xsl:variable name="constGost_SineLoco">
  3477.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3478.     <xsl:call-template name="templ_str_SineLocoShort"/>
  3479.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3480.      
  3481. </xsl:variable>
  3482. <xsl:variable name="constGost_SineNomine">
  3483.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  3484.     <xsl:call-template name="templ_str_SineNomineShort"/>
  3485.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  3486.      
  3487. </xsl:variable>
  3488. <xsl:variable name="constGost_HyphenSectionHeader">
  3489.     <xsl:call-template name="templ_prop_Dot" />
  3490.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3491.     <xsl:call-template name="templ_prop_FromToDash" />
  3492.     <xsl:call-template name="templ_prop_Space" />
  3493.      
  3494. </xsl:variable>
  3495. <xsl:variable name="constGost_HyphenSectionSeparator">
  3496.     <xsl:call-template name="templ_prop_ListSeparator" />
  3497.      
  3498. </xsl:variable>
  3499. <xsl:variable name="constGost_ColonElementSeparator">
  3500.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3501.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3502.      
  3503. </xsl:variable>
  3504.  
  3505. <xsl:variable name="constGost_ShortTitleHeader">
  3506.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3507.     <xsl:call-template name="templ_prop_Equal" />
  3508.     <xsl:call-template name="templ_prop_Space" />
  3509.      
  3510. </xsl:variable>
  3511. <xsl:variable name="constGost_SoundRecordingMediumHeader">
  3512.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3513.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3514.      
  3515. </xsl:variable>
  3516. <xsl:variable name="constGost_ElectronicSourceMediumHeader">
  3517.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3518.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3519.      
  3520. </xsl:variable>
  3521. <xsl:variable name="constGost_PatentNumberHeader">
  3522.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3523.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3524.      
  3525. </xsl:variable>
  3526. <xsl:variable name="constGost_PatentTypeHeader">
  3527.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3528.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3529.      
  3530. </xsl:variable>
  3531. <xsl:variable name="constGost_CaseNumberHeader">
  3532.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3533.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3534.      
  3535. </xsl:variable>
  3536. <xsl:variable name="constGost_AbbreviatedCaseNumberHeader">
  3537.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3538.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3539.      
  3540. </xsl:variable>
  3541. <xsl:variable name="constGost_ReportTypeHeader">
  3542.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3543.     <xsl:call-template name="templ_prop_EnumSeparator" />
  3544.      
  3545. </xsl:variable>
  3546. <xsl:variable name="constGost_PublisherProductionCompanySeparator">
  3547.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3548.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3549.      
  3550. </xsl:variable>
  3551. <xsl:variable name="constGost_TheaterCitySeparator">
  3552.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  3553.     <xsl:call-template name="templ_prop_GroupSeparator" />
  3554.      
  3555. </xsl:variable>
  3556.  
  3557.  
  3558. <xsl:variable name="constGost_AuthorHeader">
  3559.     <xsl:call-template name="templ_str_AuthorShortUnCap"/>
  3560.     <xsl:call-template name="templ_prop_Space" />
  3561.      
  3562. </xsl:variable>
  3563. <xsl:variable name="constGost_TranslatorHeader">
  3564.     <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  3565.     <xsl:call-template name="templ_prop_Space" />
  3566.      
  3567. </xsl:variable>
  3568. <xsl:variable name="constGost_CompilerHeader">
  3569.     <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  3570.     <xsl:call-template name="templ_prop_Space" />
  3571.      
  3572. </xsl:variable>
  3573. <xsl:variable name="constGost_ComposerHeader">
  3574.     <xsl:call-template name="templ_str_ComposerShortUnCapIso"/>
  3575.     <xsl:call-template name="templ_prop_Space" />
  3576.      
  3577. </xsl:variable>
  3578. <xsl:variable name="constGost_ArtistHeader">
  3579.     <xsl:call-template name="templ_str_ArtistShortUnCap"/>
  3580.     <xsl:call-template name="templ_prop_Space" />
  3581.      
  3582. </xsl:variable>
  3583. <xsl:variable name="constGost_ConductorHeader">
  3584.     <xsl:call-template name="templ_str_ConductorShortUnCap"/>
  3585.     <xsl:call-template name="templ_prop_Space" />
  3586.      
  3587. </xsl:variable>
  3588. <xsl:variable name="constGost_PerformerHeader">
  3589.     <xsl:call-template name="templ_str_PerformerShortUnCap"/>
  3590.     <xsl:call-template name="templ_prop_Space" />
  3591.      
  3592. </xsl:variable>
  3593. <xsl:variable name="constGost_WriterHeader">
  3594.     <xsl:call-template name="templ_str_WriterShortUnCap"/>
  3595.     <xsl:call-template name="templ_prop_Space" />
  3596.      
  3597. </xsl:variable>
  3598. <xsl:variable name="constGost_DirectorHeader">
  3599.     <xsl:call-template name="templ_str_DirectorShortUnCap"/>
  3600.     <xsl:call-template name="templ_prop_Space" />
  3601.      
  3602. </xsl:variable>
  3603. <xsl:variable name="constGost_ProducerNameHeader">
  3604.     <xsl:call-template name="templ_str_ProducerShortUnCap"/>
  3605.     <xsl:call-template name="templ_prop_Space" />
  3606.      
  3607. </xsl:variable>
  3608. <xsl:variable name="constGost_CounselHeader">
  3609.     <xsl:call-template name="templ_str_CounselShortUnCap"/>
  3610.     <xsl:call-template name="templ_prop_Space" />
  3611.      
  3612. </xsl:variable>
  3613. <xsl:variable name="constGost_BookAuthorHeader">
  3614.     <xsl:call-template name="templ_str_BookAuthorShortUnCap"/>
  3615.     <xsl:call-template name="templ_prop_Space" />
  3616.      
  3617. </xsl:variable>
  3618. <xsl:variable name="constGost_IntervieweeHeader">
  3619.     <xsl:call-template name="templ_str_IntervieweeShortUnCap"/>
  3620.     <xsl:call-template name="templ_prop_Space" />
  3621.      
  3622. </xsl:variable>
  3623.  
  3624.     
  3625.  
  3626.  
  3627.  
  3628.  
  3629.     
  3630.     <xsl:template match="/">
  3631.  
  3632.  
  3633.  
  3634.         <xsl:choose>
  3635.  
  3636.             
  3637.             
  3638.             <xsl:when test="b:Version">
  3639.                 <xsl:text>2006.5.07</xsl:text>
  3640.             </xsl:when>
  3641.             <xsl:when test="b:OfficeStyleKey">
  3642.                 <xsl:text>GOSTNS</xsl:text>
  3643.             </xsl:when>
  3644.  
  3645.                 
  3646.  
  3647.             
  3648.             <xsl:when test="b:GetImportantFields">
  3649.                 <b:ImportantFields>
  3650.                     <xsl:choose>
  3651.                         <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3652.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3653.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3654.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3655.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3656.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3657.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3658.                         </xsl:when>
  3659.  
  3660.                         <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3661.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3662.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3663.                             <b:ImportantField><xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text></b:ImportantField>
  3664.                             <b:ImportantField><xsl:text>b:BookTitle</xsl:text></b:ImportantField>
  3665.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3666.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3667.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3668.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3669.                         </xsl:when>
  3670.  
  3671.                         <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3672.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3673.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3674.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3675.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3676.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3677.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3678.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3679.                         </xsl:when>
  3680.  
  3681.                         <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3682.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3683.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3684.                             <b:ImportantField><xsl:text>b:PeriodicalTitle</xsl:text></b:ImportantField>
  3685.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3686.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3687.                             <b:ImportantField><xsl:text>b:Edition</xsl:text></b:ImportantField>
  3688.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3689.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3690.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3691.                         </xsl:when>
  3692.  
  3693.                         <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3694.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3695.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3696.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3697.                             <b:ImportantField><xsl:text>b:ConferenceName</xsl:text></b:ImportantField>
  3698.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3699.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3700.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3701.                         </xsl:when>
  3702.  
  3703.                         <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3704.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3705.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3706.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3707.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3708.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3709.                         </xsl:when>
  3710.  
  3711.                         <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3712.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3713.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3714.                             <b:ImportantField><xsl:text>b:AlbumTitle</xsl:text></b:ImportantField>
  3715.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3716.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3717.                             <b:ImportantField><xsl:text>b:Medium</xsl:text></b:ImportantField>
  3718.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3719.                         </xsl:when>
  3720.  
  3721.                         <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3722.                             <b:ImportantField><xsl:text>b:Author/b:Writer/b:NameList</xsl:text></b:ImportantField>
  3723.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3724.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3725.                             <b:ImportantField><xsl:text>b:Theater</xsl:text></b:ImportantField>
  3726.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3727.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3728.                         </xsl:when>
  3729.  
  3730.                         <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3731.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3732.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3733.                             <b:ImportantField><xsl:text>b:Institution</xsl:text></b:ImportantField>
  3734.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3735.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3736.                         </xsl:when>
  3737.  
  3738.                         <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3739.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3740.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3741.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3742.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3743.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3744.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3745.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3746.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3747.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3748.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3749.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3750.                             <b:ImportantField><xsl:text>b:Version</xsl:text></b:ImportantField>
  3751.                         </xsl:when>
  3752.  
  3753.                         <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3754.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3755.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3756.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3757.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3758.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3759.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3760.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3761.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3762.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3763.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3764.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3765.                             <b:ImportantField><xsl:text>b:Version</xsl:text></b:ImportantField>
  3766.                         </xsl:when>
  3767.  
  3768.                         <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3769.                             <b:ImportantField><xsl:text>b:Author/b:Director/b:NameList</xsl:text></b:ImportantField>
  3770.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3771.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3772.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3773.                         </xsl:when>
  3774.  
  3775.                         <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3776.                             <b:ImportantField><xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text></b:ImportantField>
  3777.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3778.                             <b:ImportantField><xsl:text>b:BroadcastTitle</xsl:text></b:ImportantField>
  3779.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3780.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3781.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3782.                             <b:ImportantField><xsl:text>b:Broadcaster</xsl:text></b:ImportantField>
  3783.                             <b:ImportantField><xsl:text>b:Station</xsl:text></b:ImportantField>
  3784.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3785.                         </xsl:when>
  3786.  
  3787.                         <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3788.                             <b:ImportantField><xsl:text>b:Author/b:Inventor/b:NameList</xsl:text></b:ImportantField>
  3789.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3790.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3791.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3792.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3793.                             <b:ImportantField><xsl:text>b:CountryRegion</xsl:text></b:ImportantField>
  3794.                         </xsl:when>
  3795.  
  3796.                         <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3797.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3798.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3799.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3800.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3801.                             <b:ImportantField><xsl:text>b:Medium</xsl:text></b:ImportantField>
  3802.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3803.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3804.                         </xsl:when>
  3805.  
  3806.                         <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3807.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3808.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3809.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3810.                             <b:ImportantField><xsl:text>b:Court</xsl:text></b:ImportantField>
  3811.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3812.                         </xsl:when>
  3813.  
  3814.                         <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3815.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3816.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3817.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3818.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3819.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3820.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3821.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3822.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3823.                         </xsl:when>
  3824.  
  3825.                     </xsl:choose>
  3826.                 </b:ImportantFields>
  3827.             </xsl:when>
  3828.             
  3829.             
  3830.             <xsl:when test="b:Citation">
  3831.  
  3832.                 <xsl:variable name="ListPopulatedWithMain">
  3833.                         <xsl:call-template name="populateMain">
  3834.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3835.                         </xsl:call-template>
  3836.                 </xsl:variable>
  3837.  
  3838.             
  3839.             
  3840.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  3841.                     <head>
  3842.                     </head>
  3843.                     <body>
  3844.                         <xsl:variable name="LCID">
  3845.                           <xsl:choose>
  3846.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3847.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3848.                             </xsl:when>
  3849.                             <xsl:otherwise>
  3850.                               <xsl:value-of select="b:LCID"/>
  3851.                             </xsl:otherwise>
  3852.                           </xsl:choose>
  3853.                         </xsl:variable>
  3854.  
  3855.                         <xsl:element name="p">
  3856.  
  3857.                         <xsl:attribute name="lang">
  3858.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3859.                         </xsl:attribute>
  3860.  
  3861.                         <xsl:attribute name="dir">
  3862.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3863.                         </xsl:attribute>
  3864.  
  3865.                         <xsl:variable name="type">
  3866.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3867.                         </xsl:variable>
  3868.  
  3869.                         <xsl:variable name="title0">
  3870.                             <xsl:choose>
  3871.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3872.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3873.                                 </xsl:when>
  3874.  
  3875.                                 <xsl:otherwise>
  3876.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3877.                                 </xsl:otherwise>
  3878.                             </xsl:choose>
  3879.                         </xsl:variable>
  3880.  
  3881.                         <xsl:variable name="year0">
  3882.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3883.                         </xsl:variable>                        
  3884.  
  3885.                         <xsl:variable name="authorMain">
  3886.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3887.                         </xsl:variable>
  3888.  
  3889.                         <xsl:variable name="author0">
  3890.                             <xsl:choose>
  3891.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3892.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3893.                                 </xsl:when>
  3894.                                 <xsl:otherwise>
  3895.                                     <xsl:variable name="cAuthors">
  3896.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3897.                                     </xsl:variable>
  3898.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3899.                                         <xsl:choose>
  3900.                                             <xsl:when test="position() >= 2">
  3901.                                             </xsl:when>
  3902.                                             <xsl:when test="position() = 1">
  3903.                                                 <xsl:call-template name="formatNameCore">
  3904.                                                     <xsl:with-param name="FML">
  3905.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FML"/>
  3906.                                                     </xsl:with-param>
  3907.                                                     <xsl:with-param name="FM">
  3908.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FM"/>
  3909.                                                     </xsl:with-param>
  3910.                                                     <xsl:with-param name="ML">
  3911.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_ML"/>
  3912.                                                     </xsl:with-param>
  3913.                                                     <xsl:with-param name="FL">
  3914.                                                         <xsl:call-template name="templ_prop_Gost_CitationShort_FL"/>
  3915.                                                     </xsl:with-param>
  3916.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3917.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3918.                                                 </xsl:call-template>
  3919.                                             </xsl:when>
  3920.                                         </xsl:choose>
  3921.                                     </xsl:for-each>
  3922.                                     <xsl:if test = "$cAuthors > 1">
  3923.                                         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3924.                                         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3925.                                     </xsl:if>
  3926.                                 </xsl:otherwise>
  3927.                             </xsl:choose>
  3928.                         </xsl:variable>
  3929.                         
  3930.                         <xsl:variable name="title">
  3931.                             <xsl:choose>
  3932.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3933.                                 </xsl:when>
  3934.                                 
  3935.                                 <xsl:otherwise>
  3936.                                     <xsl:value-of select="$title0" />
  3937.                                 </xsl:otherwise>
  3938.                             </xsl:choose>
  3939.                         </xsl:variable>
  3940.  
  3941.                         <xsl:variable name="year">
  3942.                             <xsl:choose>
  3943.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3944.                                 </xsl:when>
  3945.                                 
  3946.                                 <xsl:otherwise>
  3947.                                     <xsl:value-of select="$year0" />
  3948.                                 </xsl:otherwise>
  3949.                             </xsl:choose>
  3950.                         </xsl:variable>                        
  3951.  
  3952.                         <xsl:variable name="author">
  3953.                             <xsl:choose>
  3954.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3955.                                 </xsl:when>
  3956.                                 <xsl:otherwise>
  3957.                                     <xsl:value-of select="$author0" />
  3958.                                 </xsl:otherwise>
  3959.                             </xsl:choose>
  3960.                         </xsl:variable>
  3961.  
  3962.                         <xsl:variable name="prop_APA_Hyphens">
  3963.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3964.                         </xsl:variable>
  3965.  
  3966.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  3967.  
  3968.                         <xsl:variable name="volVolume">
  3969.                             <xsl:if test="string-length($volume) > 0">
  3970.                                 <xsl:call-template name="StringFormat">
  3971.                                     <xsl:with-param name="format">
  3972.                                       <xsl:choose>
  3973.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  3974.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3975.                                         </xsl:when>
  3976.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  3977.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  3978.                                         </xsl:when>
  3979.                                         <xsl:otherwise>
  3980.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3981.                                         </xsl:otherwise>
  3982.                                       </xsl:choose>
  3983.                                     </xsl:with-param>
  3984.                                     <xsl:with-param name="parameters">
  3985.                                         <t:params>
  3986.                                             <t:param>
  3987.                                                 <xsl:value-of select="$volume"/>
  3988.                                             </t:param>
  3989.                                         </t:params>
  3990.                                     </xsl:with-param>
  3991.                                 </xsl:call-template>
  3992.                             </xsl:if>
  3993.                         </xsl:variable>
  3994.  
  3995.  
  3996.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  3997.  
  3998.                         <xsl:variable name="ppPages">
  3999.                           <xsl:if test="string-length($pages)>0">
  4000.                             <xsl:choose>
  4001.                               <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4002.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4003.                               </xsl:when>
  4004.                               <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4005.                                 <xsl:call-template name="templ_str_PageShort"/>
  4006.                               </xsl:when>
  4007.                               <xsl:otherwise>
  4008.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4009.                               </xsl:otherwise>
  4010.                             </xsl:choose>
  4011.                             <xsl:call-template name="templ_prop_Space"/>
  4012.                             <xsl:value-of select="$pages"/>
  4013.                           </xsl:if>
  4014.                         </xsl:variable>
  4015.  
  4016.                         <xsl:variable name="displayAuthor">
  4017.                             <xsl:value-of select="$author" />
  4018.                         </xsl:variable>
  4019.  
  4020.                         <xsl:variable name="displayTitle">
  4021.                         </xsl:variable>
  4022.  
  4023.                         
  4024.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  4025.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  4026.                         </xsl:if>
  4027.                     
  4028.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  4029.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  4030.                         </xsl:if>
  4031.  
  4032.                         <xsl:value-of select="$displayAuthor" />
  4033.  
  4034.                         <xsl:if test="string-length($displayTitle) > 0">
  4035.                             <xsl:if test="string-length($displayAuthor) > 0">
  4036.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4037.                             </xsl:if>
  4038.                             <xsl:value-of select="$displayTitle"/>
  4039.                         </xsl:if>
  4040.  
  4041.                         <xsl:if test="string-length($year) > 0">
  4042.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  4043.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4044.                             </xsl:if>    
  4045.                             <xsl:value-of select="$year"/>
  4046.                         </xsl:if>
  4047.  
  4048.                         <xsl:if test="string-length($author0) = 0 and string-length($year0) = 0">
  4049.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  4050.                         </xsl:if>
  4051.  
  4052.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  4053.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0 or string-length($year) > 0">
  4054.                                 <xsl:call-template name="templ_prop_Space"/>
  4055.                             </xsl:if>            
  4056.  
  4057.                             <xsl:choose>
  4058.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  4059.                                     <xsl:value-of select="$volume"/>
  4060.                                     <xsl:call-template name="templ_prop_Enum"/>
  4061.                                     <xsl:value-of select="$pages"/>
  4062.                                 </xsl:when>
  4063.                                 <xsl:when test="string-length($volVolume) > 0">
  4064.                                     <xsl:value-of select="$volVolume"/>
  4065.                                 </xsl:when>
  4066.                                 <xsl:when test="string-length($ppPages) > 0">
  4067.                                     <xsl:value-of select="$ppPages"/>
  4068.                                 </xsl:when>
  4069.                             </xsl:choose>
  4070.                         </xsl:if>
  4071.  
  4072.                         <xsl:if test="/b:Citation/b:PageSuffix">
  4073.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  4074.                         </xsl:if>
  4075.                         
  4076.                         <xsl:if test="/b:Citation/b:LastAuthor">
  4077.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  4078.                         </xsl:if>
  4079.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  4080.                             <xsl:call-template name="templ_prop_GroupSeparator"/>
  4081.                         </xsl:if>
  4082.                     
  4083.  
  4084.                         </xsl:element>
  4085.                     </body>
  4086.                 </html>
  4087.             </xsl:when>
  4088.  
  4089.             <xsl:when test="b:Bibliography">
  4090.                 <html xmlns:o="urn:schemas-microsoft-com:office:office"
  4091.                         xmlns:w="urn:schemas-microsoft-com:office:word"
  4092.                         xmlns="http://www.w3.org/TR/REC-html40">
  4093.                     <head>
  4094.                         
  4095.                         <style>
  4096.                             p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  4097.                         </style>
  4098.                     </head>
  4099.  
  4100.                     <body>
  4101.  
  4102.                         
  4103.                         
  4104.                         <xsl:variable name="ListPopulatedWithMain">
  4105.                             <xsl:call-template name="populateMain">
  4106.                                 <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  4107.                             </xsl:call-template>
  4108.                         </xsl:variable>
  4109.  
  4110.                         
  4111.                         
  4112.                         <xsl:variable name="SortedList">
  4113.                             <xsl:call-template name="sortedList">
  4114.                                 <xsl:with-param name="sourceRoot">
  4115.                                     <xsl:copy-of select="$ListPopulatedWithMain"/>
  4116.                                 </xsl:with-param>
  4117.                                 
  4118.                             </xsl:call-template>
  4119.                         </xsl:variable>
  4120.  
  4121.                         
  4122.                         <xsl:for-each select="msxsl:node-set($SortedList)/b:Bibliography/b:Source">
  4123.                             <xsl:element name="p">
  4124.                                 <xsl:variable name="LCID">
  4125.                                   <xsl:choose>
  4126.                                     <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  4127.                                       <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  4128.                                     </xsl:when>
  4129.                                     <xsl:otherwise>
  4130.                                       <xsl:value-of select="b:LCID"/>
  4131.                                     </xsl:otherwise>
  4132.                                   </xsl:choose>
  4133.                                 </xsl:variable>
  4134.                                 <xsl:attribute name="lang">
  4135.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  4136.                                 </xsl:attribute>
  4137.                                 <xsl:attribute name="dir">
  4138.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  4139.                                 </xsl:attribute>
  4140.                                 <xsl:attribute name="class">
  4141.                                     <xsl:value-of select="'MsoBibliography'"/>
  4142.                                 </xsl:attribute>
  4143.                                 
  4144.                             
  4145.  
  4146.                                 
  4147.                                 <xsl:variable name="prevBook">
  4148.                                     <xsl:value-of select="position()-1"/>
  4149.                                 </xsl:variable>
  4150.  
  4151.                                 <xsl:variable name="cMaxAllow">
  4152.                                     <xsl:call-template name="maxAuthor"/>
  4153.                                 </xsl:variable>
  4154.  
  4155.  
  4156.                                 
  4157.                                 <xsl:variable name ="NonEmptySectionsCount">
  4158.                                     <xsl:call-template name ="getNonEmptySectionsCount"/>
  4159.                                 </xsl:variable>
  4160.  
  4161.                                 
  4162.                                 <xsl:variable name ="SectionsCount">
  4163.                                     <xsl:call-template name="getSectionsCount"/>
  4164.                                 </xsl:variable>
  4165.  
  4166.                                 
  4167.                                 <xsl:variable name ="AllPersonsCount">
  4168.                                     <xsl:call-template name="getAllPersonsCount"/>
  4169.                                 </xsl:variable>
  4170.  
  4171.                                 
  4172.                                 <xsl:variable name ="EtAlSectionsCount">
  4173.                                     <xsl:call-template name="getEtAlSectionsCount"/>
  4174.                                 </xsl:variable>
  4175.  
  4176.                                 
  4177.                                 <xsl:variable name="MainAuthors">
  4178.                                     <xsl:call-template name="formatMainAuthor"/>
  4179.                                 </xsl:variable>
  4180.  
  4181.                                 
  4182.                                 <xsl:variable name="Authors">
  4183.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Author ">
  4184.                                         <xsl:call-template name="formatAuthor"/>
  4185.                                     </xsl:if>
  4186.                                 </xsl:variable>
  4187.  
  4188.                                 
  4189.                                 <xsl:variable name="Editors">
  4190.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Editor">
  4191.                                         <xsl:call-template name="formatEditor"/>
  4192.                                     </xsl:if>
  4193.                                 </xsl:variable>
  4194.  
  4195.                                 
  4196.                                 <xsl:variable name="Translators">
  4197.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Translator">
  4198.                                         <xsl:call-template name="formatTranslator"/>
  4199.                                     </xsl:if>
  4200.                                 </xsl:variable>
  4201.  
  4202.                                 <xsl:variable name = "Artists">
  4203.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Artist">
  4204.                                         <xsl:call-template name="formatArtist"/>
  4205.                                     </xsl:if>
  4206.                                 </xsl:variable>
  4207.  
  4208.                                 <xsl:variable name = "Composers">
  4209.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Composer">
  4210.                                         <xsl:call-template name="formatComposer"/>
  4211.                                     </xsl:if>
  4212.                                 </xsl:variable>
  4213.  
  4214.                                 <xsl:variable name ="Conductors">
  4215.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Conductor">
  4216.                                         <xsl:call-template name="formatConductor"/>
  4217.                                     </xsl:if>
  4218.                                 </xsl:variable>
  4219.  
  4220.                                 <xsl:variable name="Performers">
  4221.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Performer">
  4222.                                         <xsl:call-template name="formatPerformer"/>
  4223.                                     </xsl:if>
  4224.                                 </xsl:variable>
  4225.  
  4226.                                 <xsl:variable name="Writers">
  4227.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Writer">
  4228.                                         <xsl:call-template name="formatWriter"/>
  4229.                                     </xsl:if>
  4230.                                 </xsl:variable>
  4231.  
  4232.                                 <xsl:variable name ="Directors">
  4233.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Director">
  4234.                                         <xsl:call-template name="formatDirector"/>
  4235.                                     </xsl:if>
  4236.                                 </xsl:variable>
  4237.  
  4238.                                 <xsl:variable name ="ProducerNames">
  4239.                                     <xsl:if test="b:Author/b:Main != b:Author/b:ProducerName">
  4240.                                         <xsl:call-template name ="formatProducerName"/>
  4241.                                     </xsl:if>
  4242.                                 </xsl:variable>
  4243.  
  4244.                                 <xsl:variable name ="Interviewees">
  4245.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Interviewee">
  4246.                                         <xsl:call-template name="formatInterviewee"/>
  4247.                                     </xsl:if>
  4248.                                 </xsl:variable>
  4249.  
  4250.                                 <xsl:variable name ="Compilers">
  4251.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Compiler">
  4252.                                         <xsl:call-template name ="formatCompiler"/>
  4253.                                     </xsl:if>
  4254.                                 </xsl:variable>
  4255.  
  4256.                                 <xsl:variable name ="Inventors">
  4257.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Inventor">
  4258.                                         <xsl:call-template name="formatInventor"/>
  4259.                                     </xsl:if>
  4260.                                 </xsl:variable>
  4261.  
  4262.                                 <xsl:variable name="Reporters">
  4263.                                     <xsl:if test="string-length(b:Reporter)">
  4264.                                         <xsl:value-of select ="b:Reporter"/>
  4265.                                     </xsl:if>
  4266.                                 </xsl:variable>
  4267.  
  4268.                                 <xsl:variable name="Counsels">
  4269.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Counsel">
  4270.                                         <xsl:call-template name="formatCounsel"/>
  4271.                                     </xsl:if>
  4272.                                 </xsl:variable>
  4273.  
  4274.                                 <xsl:variable name ="BookMainAuthors">
  4275.                                     <xsl:if test="b:Author/b:Main != b:Author/b:BookAuthor">
  4276.                                         <xsl:if test="string-length(b:Author/b:BookAuthor/b:NameList/b:Person/b:Last)>0">
  4277.                                             
  4278.                                             
  4279.                                             <xsl:call-template name="templ_str_BookAuthorShortUnCap"/>
  4280.                                             <xsl:call-template name="templ_prop_Space" />
  4281.                                             <xsl:for-each select="b:Author/b:BookAuthor">
  4282.                                                 <xsl:call-template name="formatPersons"/>
  4283.                                             </xsl:for-each>
  4284.                                         </xsl:if>
  4285.                                     </xsl:if>
  4286.                                 </xsl:variable>
  4287.  
  4288.                                 <xsl:variable name="prop_APA_Hyphens2">
  4289.                                   <xsl:call-template name="templ_prop_Hyphens"/>
  4290.                                 </xsl:variable>
  4291.  
  4292.                                 <xsl:variable name="volume" select="b:Volume"/>
  4293.  
  4294.                                 <xsl:variable name="volVolume">
  4295.                                     <xsl:if test="string-length($volume) > 0">
  4296.                                         <xsl:call-template name="StringFormat">
  4297.                                             <xsl:with-param name="format">
  4298.                                               <xsl:choose>
  4299.                                                 <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4300.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4301.                                                 </xsl:when>
  4302.                                                 <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens2, ''))">
  4303.                                                   <xsl:call-template name="templ_str_VolumeShortCap"/>
  4304.                                                 </xsl:when>
  4305.                                                 <xsl:otherwise>
  4306.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4307.                                                 </xsl:otherwise>
  4308.                                               </xsl:choose>
  4309.                                             </xsl:with-param>
  4310.                                             <xsl:with-param name="parameters">
  4311.                                                 <t:params>
  4312.                                                     <t:param>
  4313.                                                         <xsl:value-of select="$volume"/>
  4314.                                                     </t:param>
  4315.                                                 </t:params>
  4316.                                             </xsl:with-param>
  4317.                                         </xsl:call-template>
  4318.                                     </xsl:if>
  4319.                                 </xsl:variable>
  4320.  
  4321.                                 <xsl:variable name ="CityPublisherYearHyphenSection">
  4322.                                     <xsl:call-template name ="formatHyphenSection">
  4323.                                         <xsl:with-param name ="FirstElement">
  4324.                                             <xsl:call-template name ="formatLocationElement">
  4325.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4326.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4327.                                             </xsl:call-template>
  4328.                                         </xsl:with-param>
  4329.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4330.                                     </xsl:call-template>
  4331.                                 </xsl:variable>
  4332.  
  4333.                                 <xsl:variable name ="VolumeNumberVolumesHyphenSection">
  4334.                                     <xsl:call-template name ="formatHyphenSection">
  4335.                                         <xsl:with-param name ="FirstElement">
  4336.                                             <xsl:call-template name ="formatColonElement">
  4337.                                                 <xsl:with-param name ="FirstParam" select ="b:Edition"/>
  4338.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4339.                                                 <xsl:with-param name ="ThirdParam" select ="b:NumberVolumes"/>
  4340.                                             </xsl:call-template>
  4341.                                         </xsl:with-param>
  4342.                                     </xsl:call-template>
  4343.                                 </xsl:variable>
  4344.  
  4345.                                 <xsl:variable name="pages" select="b:Pages"/>
  4346.  
  4347.                                 <xsl:variable name="prop_APA_Hyphens">
  4348.                                   <xsl:call-template name="templ_prop_Hyphens"/>
  4349.                                 </xsl:variable>
  4350.  
  4351.                                 <xsl:variable name ="Pages">
  4352.                                   <xsl:if test="string-length($pages)>0">
  4353.                                     <xsl:choose>
  4354.                                       <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4355.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4356.                                       </xsl:when>
  4357.                                       <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4358.                                         <xsl:call-template name="templ_str_PageShort"/>
  4359.                                       </xsl:when>
  4360.                                       <xsl:otherwise>
  4361.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4362.                                       </xsl:otherwise>
  4363.                                     </xsl:choose>
  4364.                                     <xsl:call-template name="templ_prop_Space"/>
  4365.                                     <xsl:value-of select="$pages"/>
  4366.                                   </xsl:if>
  4367.                                 </xsl:variable>
  4368.                                 
  4369.                                 <xsl:variable name ="EditionVolumeNumberVolumesPagesHyphenSection">
  4370.                                     <xsl:call-template name ="formatHyphenSection">
  4371.                                         <xsl:with-param name ="FirstElement">
  4372.                                             <xsl:call-template name ="formatColonElement">
  4373.                                                 <xsl:with-param name ="FirstParam" select ="b:Edition"/>
  4374.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4375.                                                 <xsl:with-param name ="ThirdParam" select ="b:NumberVolumes"/>
  4376.                                                 <xsl:with-param name ="FourthParam" select ="$Pages"/>
  4377.                                             </xsl:call-template>
  4378.                                         </xsl:with-param>
  4379.                                     </xsl:call-template>
  4380.                                 </xsl:variable>
  4381.  
  4382.                                 <xsl:variable name ="CityPublisherDateMonthYearHyphenSection">
  4383.                                     <xsl:call-template name ="formatHyphenSection">
  4384.                                         <xsl:with-param name ="FirstElement">
  4385.                                             <xsl:call-template name ="formatLocationElement">
  4386.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4387.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4388.                                             </xsl:call-template>
  4389.                                         </xsl:with-param>
  4390.                                         <xsl:with-param name ="SecondElement">
  4391.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4392.                                         </xsl:with-param>
  4393.                                     </xsl:call-template>
  4394.                                 </xsl:variable>
  4395.  
  4396.                                 <xsl:variable name ="CityBroadcasterStationPublisherDateMonthYearHyphenSection">
  4397.                                     <xsl:call-template name ="formatHyphenSection">
  4398.                                         <xsl:with-param name ="FirstElement">
  4399.                                             <xsl:call-template name ="formatLocationElement">
  4400.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4401.                                                 <xsl:with-param name ="Publisher">
  4402.                                                     <xsl:value-of select="b:Broadcaster"/>
  4403.                                                     <xsl:if test="string-length(b:Broadcaster)>0 and (string-length(b:Station)>0 or string-length(b:Publisher)>0)">
  4404.                             <xsl:call-template name="templ_prop_NonBreakingSpace"/>
  4405.                             <xsl:call-template name="templ_prop_GroupSeparator"/>                                                    
  4406.                                                     </xsl:if>
  4407.                                                     <xsl:value-of select="b:Station"/>
  4408.                                                     <xsl:if test="string-length(b:Station)>0 and string-length(b:Publisher)>0">
  4409.                             <xsl:call-template name="templ_prop_NonBreakingSpace"/>
  4410.                             <xsl:call-template name="templ_prop_GroupSeparator"/>                                                    
  4411.                                                     </xsl:if>
  4412.                                                     <xsl:value-of select="b:Publisher"/>
  4413.                                                 </xsl:with-param>
  4414.                                             </xsl:call-template>
  4415.                                         </xsl:with-param>
  4416.                                         <xsl:with-param name ="SecondElement">
  4417.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4418.                                         </xsl:with-param>
  4419.                                     </xsl:call-template>
  4420.                                 </xsl:variable>
  4421.  
  4422.                                 <xsl:variable name ="IssueVolumeHyphenSection">
  4423.                                     <xsl:call-template name ="formatHyphenSection">
  4424.                                         <xsl:with-param name ="FirstElement">
  4425.                                             <xsl:call-template name ="formatColonElement">
  4426.                                                 <xsl:with-param name ="FirstParam" select ="b:Issue"/>
  4427.                                                 <xsl:with-param name ="SecondParam" select ="$volVolume"/>
  4428.                                             </xsl:call-template>
  4429.                                         </xsl:with-param>
  4430.                                     </xsl:call-template>
  4431.                                 </xsl:variable>
  4432.  
  4433.                                 <xsl:variable name ="PagesHyphenSection">
  4434.                                     <xsl:call-template name ="formatHyphenSection">
  4435.                                         <xsl:with-param name ="FirstElement" select ="$Pages"/>
  4436.                                     </xsl:call-template>
  4437.                                 </xsl:variable>
  4438.  
  4439.                                 <xsl:variable name ="InstitutionHyphenSection">
  4440.                                     <xsl:call-template name ="formatHyphenSection">
  4441.                                         <xsl:with-param name ="FirstElement" select ="b:Institution"/>
  4442.                                     </xsl:call-template>
  4443.                                 </xsl:variable>
  4444.  
  4445.                                 <xsl:variable name ="EditionHyphenSection">
  4446.                                     <xsl:call-template name ="formatHyphenSection">
  4447.                                         <xsl:with-param name ="FirstElement" select ="b:Edition"/>
  4448.                                     </xsl:call-template>
  4449.                                 </xsl:variable>
  4450.  
  4451.                                 <xsl:variable name ="VolumeHyphenSection">
  4452.                                     <xsl:call-template name ="formatHyphenSection">
  4453.                                         <xsl:with-param name ="FirstElement" select ="$volVolume"/>
  4454.                                     </xsl:call-template>
  4455.                                 </xsl:variable>
  4456.  
  4457.                                 <xsl:variable name ="CityInstitutionHyphenSection">
  4458.                                     <xsl:call-template name ="formatHyphenSection">
  4459.                                         <xsl:with-param name ="FirstElement">
  4460.                                             <xsl:call-template name ="formatLocationElement">
  4461.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4462.                                                 <xsl:with-param name ="Publisher" select="b:Institution"/>
  4463.                                             </xsl:call-template>
  4464.                                         </xsl:with-param>
  4465.                                     </xsl:call-template>
  4466.                                 </xsl:variable>
  4467.  
  4468.                                 <xsl:variable name ="CityPublisherHyphenSection">
  4469.                                     <xsl:call-template name ="formatHyphenSection">
  4470.                                         <xsl:with-param name ="FirstElement">
  4471.                                             <xsl:call-template name ="formatLocationElement">
  4472.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4473.                                                 <xsl:with-param name ="Publisher" select="b:Publisher"/>
  4474.                                             </xsl:call-template>
  4475.                                         </xsl:with-param>
  4476.                                     </xsl:call-template>
  4477.                                 </xsl:variable>
  4478.  
  4479.                                 <xsl:variable name ="CityProductionCompanyYearHyphenSection">
  4480.                                     <xsl:call-template name ="formatHyphenSection">
  4481.                                         <xsl:with-param name ="FirstElement">
  4482.                                             <xsl:call-template name ="formatLocationElement">
  4483.                                                 <xsl:with-param name ="Location" select="b:City"/>
  4484.                                                 <xsl:with-param name ="Publisher" select="b:ProductionCompany"/>
  4485.                                             </xsl:call-template>
  4486.                                         </xsl:with-param>
  4487.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4488.                                     </xsl:call-template>
  4489.                                 </xsl:variable>
  4490.  
  4491.                                 <xsl:variable name ="TheaterCityProductionCompanyDateMonthYearHyphenSection">
  4492.                                     
  4493.                                     <xsl:variable name ='TheaterCity'>
  4494.                                         <xsl:value-of select ='b:Theater'/>
  4495.                                         <xsl:if test ='string-length(b:Theater)>0 and string-length(b:City)>0'>
  4496.                                             
  4497.                                             
  4498.                                             
  4499.                                             
  4500.                                             
  4501.                                             <xsl:value-of select="$constGost_TheaterCitySeparator"/>
  4502.                                         </xsl:if>
  4503.                                         <xsl:value-of select ='b:City'/>
  4504.                                     </xsl:variable>
  4505.  
  4506.                                     <xsl:call-template name ="formatHyphenSection">
  4507.                                         <xsl:with-param name ="FirstElement">
  4508.                                             <xsl:call-template name ="formatLocationElement">
  4509.                                                 <xsl:with-param name ="Location" select="$TheaterCity"/>
  4510.                                                 <xsl:with-param name ="Publisher" select="b:ProductionCompany"/>
  4511.                                             </xsl:call-template>
  4512.                                         </xsl:with-param>
  4513.                                         <xsl:with-param name ="SecondElement">
  4514.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4515.                                         </xsl:with-param>
  4516.                                     </xsl:call-template>
  4517.                                 </xsl:variable>
  4518.  
  4519.                                 <xsl:variable name ="ProductionCompanyDateMonthYearHyphenSection">
  4520.                                     <xsl:call-template name ="formatHyphenSection">
  4521.                                         <xsl:with-param name ="FirstElement" select ="b:ProductionCompany"/>
  4522.                                         <xsl:with-param name ="SecondElement">
  4523.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4524.                                         </xsl:with-param>
  4525.                                     </xsl:call-template>
  4526.                                 </xsl:variable>
  4527.  
  4528.                                 <xsl:variable name ="URLHyphenSection">
  4529.                                     <xsl:call-template name ="formatHyphenSection">
  4530.                                         <xsl:with-param name ="FirstElement" select ="b:URL"/>
  4531.                                     </xsl:call-template>
  4532.                                 </xsl:variable>
  4533.  
  4534.                                 <xsl:variable name ="VersionHyphenSection">
  4535.                                     <xsl:call-template name ="formatHyphenSection">
  4536.                                         <xsl:with-param name ="FirstElement" select ="b:Version"/>
  4537.                                     </xsl:call-template>
  4538.                                 </xsl:variable>
  4539.  
  4540.                                 <xsl:variable name ="DateMonthYearHyphenSection">
  4541.                                     <xsl:call-template name ="formatHyphenSection">
  4542.                                         <xsl:with-param name ="FirstElement">
  4543.                                             <xsl:call-template name ="formatDateMonthYear"/>
  4544.                                         </xsl:with-param>
  4545.                                     </xsl:call-template>
  4546.                                 </xsl:variable>
  4547.  
  4548.                                 <xsl:variable name ="SLProductionCompanyDistributorYearHyphenSection">
  4549.                                     <xsl:call-template name ="formatHyphenSection">
  4550.                                         <xsl:with-param name ="FirstElement">
  4551.                                             <xsl:call-template name ="formatLocationElement">
  4552.                                                 <xsl:with-param name ="Location">
  4553.                                                     
  4554.                                                     
  4555.                                                 </xsl:with-param>
  4556.                                                 
  4557.                                                 <xsl:with-param name ="Publisher" select ="b:ProductionCompany"/>
  4558.                                                 <xsl:with-param name ="Distributor" select="b:Distributor"/>
  4559.                                                 <xsl:with-param name ="noSL">yes</xsl:with-param>
  4560.                                             </xsl:call-template>
  4561.                                         </xsl:with-param>
  4562.                                         <xsl:with-param name ="SecondElement" select ="b:Year"/>
  4563.                                     </xsl:call-template>
  4564.                                 </xsl:variable>
  4565.  
  4566.                                 <xsl:variable name ="CountryRegionDateMonthYearHyphenSection">
  4567.                                     <xsl:call-template name ="formatHyphenSection">
  4568.                                         <xsl:with-param name ="FirstElement" select ="b:CountryRegion"/>
  4569.                                         <xsl:with-param name ="SecondElement">
  4570.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4571.                                         </xsl:with-param>
  4572.                                     </xsl:call-template>
  4573.                                 </xsl:variable>
  4574.  
  4575.                                 <xsl:variable name ="CityPublisherProductionCompanyDateMonthYearHyphenSection">
  4576.                                     
  4577.                                     <xsl:variable name ='PublisherProductionCompany'>
  4578.                                         <xsl:value-of select ='b:Publisher'/>
  4579.                                         <xsl:if test ='string-length(b:Publisher)>0 and string-length(b:ProductionCompany)>0'>
  4580.                                             
  4581.                                             
  4582.                                             
  4583.                                             
  4584.                                             
  4585.                                             <xsl:value-of select="$constGost_PublisherProductionCompanySeparator"/>
  4586.                                         </xsl:if>
  4587.                                         <xsl:value-of select ='b:ProductionCompany'/>
  4588.                                     </xsl:variable>
  4589.  
  4590.                                     <xsl:call-template name ="formatHyphenSection">
  4591.                                         <xsl:with-param name ="FirstElement">
  4592.                                             <xsl:call-template name ="formatLocationElement">
  4593.                                                 <xsl:with-param name ="Location" select ="b:City"/>
  4594.                                                 <xsl:with-param name ="Publisher" select ="$PublisherProductionCompany"/>
  4595.                                             </xsl:call-template>
  4596.                                         </xsl:with-param>
  4597.                                         <xsl:with-param name ="SecondElement">
  4598.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4599.                                         </xsl:with-param>
  4600.                                     </xsl:call-template>
  4601.                                 </xsl:variable>
  4602.  
  4603.  
  4604.                                 <xsl:variable name ="CityCourtDateMonthYearHyphenSection">
  4605.                                     <xsl:call-template name ="formatHyphenSection">
  4606.                                         <xsl:with-param name ="FirstElement">
  4607.                                             <xsl:call-template name ="formatLocationElement">
  4608.                                                 <xsl:with-param name ="Location" select ="b:City"/>
  4609.                                                 <xsl:with-param name ="Publisher" select ="b:Court"/>
  4610.                                             </xsl:call-template>
  4611.                                         </xsl:with-param>
  4612.                                         <xsl:with-param name ="SecondElement">
  4613.                                             <xsl:call-template name ="formatDateMonthYear"></xsl:call-template>
  4614.                                         </xsl:with-param>
  4615.                                     </xsl:call-template>
  4616.                                 </xsl:variable>
  4617.  
  4618.                                 <xsl:variable name ="DateMonthYearAccessedHyphenSection">
  4619.                                     <xsl:call-template name ="formatHyphenSection">
  4620.                                         <xsl:with-param name ="FirstElement">
  4621.                                             <xsl:call-template name ="formatDateMonthYearAccessed" />
  4622.                                         </xsl:with-param>
  4623.                                     </xsl:call-template>
  4624.                                 </xsl:variable>
  4625.  
  4626.                                 <xsl:variable name ="MainSectionsCount">
  4627.                                     <xsl:choose>
  4628.                                         <xsl:when test ="count(b:Author/b:Main/b:NameList/b:Person) >0 or string-length(b:Author/b:Main/b:Corporate)>0">
  4629.                                             <xsl:value-of select="1"/>
  4630.                                         </xsl:when>
  4631.                                         <xsl:otherwise>
  4632.                                             <xsl:value-of select="0"/>
  4633.                                         </xsl:otherwise>
  4634.                                     </xsl:choose>
  4635.                                 </xsl:variable>
  4636.                                 
  4637.  
  4638.                                 <xsl:variable name = "srcText">
  4639.  
  4640.  
  4641.  
  4642.                                 <b>
  4643.                                     <xsl:value-of select="$MainAuthors"/>
  4644.                                     
  4645.                                 </b>
  4646.  
  4647.                                 
  4648.                                 <xsl:call-template name="templ_prop_Space" />
  4649.                                 
  4650.                                 
  4651.  
  4652.                                 <xsl:if test="string-length(b:TitlePrefix) > 0">
  4653.                                     <xsl:value-of select="b:TitlePrefix"/>
  4654.                                     
  4655.                                     
  4656.                                 </xsl:if>
  4657.                                 <xsl:value-of select="b:Title"/>
  4658.  
  4659.                                 
  4660.                                 
  4661.                                 <xsl:variable name ="SourceType">
  4662.                                     <xsl:value-of select="b:SourceType"/>
  4663.                                 </xsl:variable>
  4664.  
  4665.                                 <xsl:choose>
  4666.                                     <xsl:when test="string-length($SourceType)=0">
  4667.                                     </xsl:when>
  4668.                                     <xsl:when test="b:SourceType='InternetSite' or b:SourceType='DocumentFromInternetSite'">
  4669.                                         <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4670.                                         <xsl:call-template name="templ_str_OnlineCap"/>
  4671.                                         <xsl:value-of select="$constGost_SourceTypeClose"/>
  4672.                                     </xsl:when>
  4673.                                     <xsl:when test="b:SourceType='Misc' or b:SourceType='ElectronicSource' or b:SourceType='Film'">
  4674.                                         <xsl:if test="string-length(b:Medium) > 0">
  4675.                                             <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4676.                                             <xsl:value-of select="b:Medium"/>
  4677.                                             <xsl:value-of select="$constGost_SourceTypeClose"/>
  4678.                                         </xsl:if>
  4679.                                     </xsl:when>
  4680.                                     <xsl:otherwise>
  4681.                                         <xsl:value-of select="$constGost_SourceTypeOpen"/>
  4682.                                         <xsl:value-of select="/b:Bibliography/b:Locals/b:Local[@LCID=$LCID]/b:SourceNames/*[local-name()=$SourceType]"/>
  4683.                                         <xsl:value-of select="$constGost_SourceTypeClose"/>
  4684.                                     </xsl:otherwise>
  4685.                                 </xsl:choose>
  4686.                                 
  4687.                                 
  4688.                                 
  4689.  
  4690.                 <xsl:if test = "b:SourceType='ElectronicSource' and string-length(b:PublicationTitle) >0">
  4691.                   
  4692.                   
  4693.                   
  4694.                   <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4695.                   <xsl:value-of select="b:PublicationTitle" />
  4696.                 </xsl:if>
  4697.  
  4698.                                 <xsl:if test = "b:SourceType='Case' and string-length(b:Reporter) >0">
  4699.                                     <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4700.                                     <xsl:value-of select="b:Reporter" />
  4701.                                 </xsl:if>
  4702.  
  4703.                 
  4704.                                 <xsl:if test = "string-length(b:ShortTitle) >0">
  4705.                                     
  4706.                                     
  4707.                                     
  4708.                                     <xsl:value-of select="$constGost_ShortTitleHeader"/>
  4709.                                     <xsl:value-of select="b:ShortTitle" />
  4710.                                 </xsl:if>
  4711.  
  4712.                                 
  4713.                                 <xsl:if test ="b:SourceType='Book'">
  4714.                                      <xsl:call-template name ="formatPrimaryResponsibilities">
  4715.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4716.                                             <xsl:call-template name ="getNonEmpty_Book_PrimSectionsCount"/>
  4717.                                         </xsl:with-param>
  4718.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4719.                                     </xsl:call-template>
  4720.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4721.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4722.                                         <xsl:with-param name ='SecondElement' select ='$Translators'/>
  4723.                                     </xsl:call-template>
  4724.  
  4725.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4726.                                     <xsl:value-of select ="$EditionVolumeNumberVolumesPagesHyphenSection"/>
  4727.                                 </xsl:if>
  4728.                                 
  4729.  
  4730.                                 
  4731.                                 <xsl:if test ="b:SourceType='BookSection'">
  4732.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4733.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4734.                                             <xsl:call-template name ="getNonEmpty_BookSection_PrimSectionsCount"/>
  4735.                                         </xsl:with-param>
  4736.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4737.                                     </xsl:call-template>
  4738.  
  4739.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4740.                                         <xsl:with-param name ="CollectionName" select ="b:BookTitle"/>
  4741.                                         <xsl:with-param name ="FirstElement" select ="$BookMainAuthors"/>
  4742.                                         <xsl:with-param name ='SecondElement' select ='$Editors'/>
  4743.                                         <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  4744.                                     </xsl:call-template>
  4745.  
  4746.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4747.                                     <xsl:value-of select ="$VolumeNumberVolumesHyphenSection"/>
  4748.                                 </xsl:if>
  4749.  
  4750.                                 <xsl:if test ="b:SourceType='JournalArticle'">
  4751.  
  4752.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4753.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4754.                                             <xsl:call-template name ="getNonEmpty_JournalArticle_PrimSectionsCount"/>
  4755.                                         </xsl:with-param>
  4756.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4757.                                     </xsl:call-template>
  4758.  
  4759.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4760.                                         <xsl:with-param name ="CollectionName" select ="b:JournalName"/>
  4761.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4762.                                     </xsl:call-template>
  4763.  
  4764.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  4765.                                     <xsl:value-of select ="$IssueVolumeHyphenSection"/>
  4766.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4767.                                 </xsl:if>
  4768.  
  4769.  
  4770.                                 <xsl:if test ="b:SourceType='ArticleInAPeriodical'">
  4771.  
  4772.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4773.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4774.                                             <xsl:call-template name ="getNonEmpty_ArticleInAPeriodical_PrimSectionsCount"/>
  4775.                                         </xsl:with-param>
  4776.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4777.                                     </xsl:call-template>
  4778.  
  4779.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4780.                                         <xsl:with-param name ="CollectionName" select ="b:PeriodicalTitle"/>
  4781.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4782.                                     </xsl:call-template>
  4783.  
  4784.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  4785.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  4786.                                     <xsl:value-of select ="$IssueVolumeHyphenSection"/>
  4787.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4788.                                 </xsl:if>
  4789.  
  4790.  
  4791.                                 <xsl:if test="b:SourceType='ConferenceProceedings'">
  4792.  
  4793.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4794.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4795.                                             <xsl:call-template name ="getNonEmpty_ConferenceProceedings_PrimSectionsCount"/>
  4796.                                         </xsl:with-param>
  4797.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4798.                                     </xsl:call-template>
  4799.  
  4800.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4801.                                         <xsl:with-param name ="CollectionName" select ="b:ConferenceName"/>
  4802.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4803.                                     </xsl:call-template>
  4804.  
  4805.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4806.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  4807.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4808.                                 </xsl:if>
  4809.  
  4810.  
  4811.                                 <xsl:if test="b:SourceType='Report'">
  4812.  
  4813.                                     <xsl:if test="string-length(b:ThesisType)>0">
  4814.                                         
  4815.                                         
  4816.                                         
  4817.                                         
  4818.                                         
  4819.                                         <xsl:value-of select="$constGost_ReportTypeHeader"/>
  4820.                                         <xsl:value-of select="b:ThesisType"/>
  4821.                                     </xsl:if>
  4822.  
  4823.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4824.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4825.                                             <xsl:call-template name ="getNonEmpty_Report_PrimSectionsCount"/>
  4826.                                         </xsl:with-param>
  4827.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4828.                                     </xsl:call-template>
  4829.  
  4830.                                     <xsl:variable name = "DepartmentAndInstitution">
  4831.                                         <xsl:call-template name ="format_SemiColonSeparated_Items">
  4832.                                             <xsl:with-param name ="Item1" select ="b:Department"/>
  4833.                                             <xsl:with-param name ="Item2" select ="b:Institution"/>
  4834.                                         </xsl:call-template>
  4835.                                     </xsl:variable>
  4836.  
  4837.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4838.                                         <xsl:with-param name ="FirstElement" select ="$DepartmentAndInstitution"/>
  4839.                                     </xsl:call-template>
  4840.  
  4841.                                     <xsl:value-of select ="$CityPublisherYearHyphenSection"/>
  4842.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4843.                                 </xsl:if>
  4844.  
  4845.  
  4846.                                 <xsl:if test="b:SourceType='SoundRecording'">
  4847.  
  4848.                                     <xsl:if test="string-length(b:Medium)>0">
  4849.                                         
  4850.                                         
  4851.                                         
  4852.                                         
  4853.                                         
  4854.                                         <xsl:value-of select="$constGost_SoundRecordingMediumHeader"/>
  4855.                                         <xsl:value-of select="b:Medium"/>
  4856.                                     </xsl:if>
  4857.  
  4858.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4859.                                         <xsl:with-param name ="FirstElement" select ="$Artists"/>
  4860.                                         <xsl:with-param name ="SecondElement" select ="$Composers"/>
  4861.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4862.                                             <xsl:call-template name ="getNonEmpty_SoundRecording_PrimSectionsCount"/>
  4863.                                         </xsl:with-param>
  4864.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4865.                                     </xsl:call-template>
  4866.  
  4867.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4868.                                         <xsl:with-param name ="CollectionName" select ="b:AlbumTitle"/>
  4869.                                         <xsl:with-param name ="FirstElement" select ="$Conductors"/>
  4870.                                         <xsl:with-param name ='SecondElement' select ='$Performers'/>
  4871.                                         <xsl:with-param name ='ThirdElement' select ='$ProducerNames'/>
  4872.                                     </xsl:call-template>
  4873.  
  4874.                                     <xsl:value-of select ="$CityProductionCompanyYearHyphenSection"/>
  4875.                                 </xsl:if>
  4876.  
  4877.  
  4878.                                 <xsl:if test ="b:SourceType='Performance'">
  4879.  
  4880.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4881.                                         <xsl:with-param name ="FirstElement" select ="$Writers"/>
  4882.                                         <xsl:with-param name ="SecondElement" select ="$Performers"/>
  4883.                                         <xsl:with-param name ="ThirdElement" select ="$Directors"/>
  4884.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4885.                                             <xsl:call-template name ="getNonEmpty_Performance_PrimSectionsCount"/>
  4886.                                         </xsl:with-param>
  4887.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4888.                                     </xsl:call-template>
  4889.  
  4890.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4891.                                         <xsl:with-param name ="FirstElement" select ="$ProducerNames"/>
  4892.                                     </xsl:call-template>
  4893.  
  4894.                                     <xsl:value-of select ="$TheaterCityProductionCompanyDateMonthYearHyphenSection"/>
  4895.                                 </xsl:if>
  4896.  
  4897.                                 <xsl:if test="b:SourceType='Art'">
  4898.  
  4899.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4900.                                         <xsl:with-param name ="FirstElement" select ="$Artists"/>
  4901.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4902.                                             <xsl:call-template name ="getNonEmpty_Art_PrimSectionsCount"/>
  4903.                                         </xsl:with-param>
  4904.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4905.                                     </xsl:call-template>
  4906.  
  4907.                                     <xsl:value-of select ="$CityInstitutionHyphenSection"/>
  4908.                                 </xsl:if>
  4909.  
  4910.                                 <xsl:if test="b:SourceType='DocumentFromInternetSite'">
  4911.  
  4912.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4913.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4914.                                             <xsl:call-template name ="getNonEmpty_DocumentFromInternetSite_PrimSectionsCount"/>
  4915.                                         </xsl:with-param>
  4916.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4917.                                     </xsl:call-template>
  4918.  
  4919.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  4920.                                         <xsl:with-param name ='CollectionName' select ='b:InternetSiteTitle'/>
  4921.                                         <xsl:with-param name ='FirstElement' select ='$Editors'/>
  4922.                                         <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  4923.                                     </xsl:call-template>
  4924.                                     <xsl:value-of select ="$ProductionCompanyDateMonthYearHyphenSection"/>
  4925.                                     <xsl:value-of select ="$VersionHyphenSection"/>
  4926.                                     <xsl:value-of select ="$DateMonthYearAccessedHyphenSection"/>
  4927.                                     <xsl:value-of select ="$URLHyphenSection"/>
  4928.                                 </xsl:if>
  4929.  
  4930.                                 <xsl:if test ="b:SourceType = 'InternetSite'">
  4931.  
  4932.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4933.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4934.                                             <xsl:call-template name ="getNonEmpty_InternetSite_PrimSectionsCount"/>
  4935.                                         </xsl:with-param>
  4936.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4937.                                     </xsl:call-template>
  4938.  
  4939.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  4940.                                         <xsl:with-param name ='CollectionName' select ='b:InternetSiteTitle'/>
  4941.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  4942.                                         <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  4943.                                     </xsl:call-template>
  4944.  
  4945.                                     <xsl:value-of select ="$ProductionCompanyDateMonthYearHyphenSection"/>
  4946.                                     <xsl:value-of select ="$DateMonthYearAccessedHyphenSection"/>
  4947.                                     <xsl:value-of select ="$URLHyphenSection"/>
  4948.                                 </xsl:if>
  4949.  
  4950.  
  4951.  
  4952.  
  4953.                                 <xsl:if test ="b:SourceType='Film'">
  4954.  
  4955.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  4956.                                         <xsl:with-param name ="FirstElement" select ="$Writers"/>
  4957.                                         <xsl:with-param name ="SecondElement" select ="$Performers"/>
  4958.                                         <xsl:with-param name ="ThirdElement" select ="$Directors"></xsl:with-param>
  4959.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  4960.                                             <xsl:call-template name ="getNonEmpty_Film_PrimSectionsCount"/>
  4961.                                         </xsl:with-param>
  4962.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  4963.                                     </xsl:call-template>
  4964.  
  4965.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  4966.                                         <xsl:with-param name ="FirstElement" select ="$ProducerNames"/>
  4967.                                     </xsl:call-template>
  4968.  
  4969.                                     <xsl:value-of select ="$SLProductionCompanyDistributorYearHyphenSection"/>
  4970.                                 </xsl:if>
  4971.  
  4972.  
  4973.  
  4974.  
  4975.                                 
  4976.                                 <xsl:if test ="b:SourceType='Interview'">
  4977.                   <xsl:call-template name ="formatSecondaryResponsibilities">
  4978.                     <xsl:with-param name ="FirstElement" select ="$Interviewees"/>
  4979.                     <xsl:with-param name ="SecondElement" select ="$Compilers"/>
  4980.                                         <xsl:with-param name ="ThirdElement" select ="$Editors"/>
  4981.                                         <xsl:with-param name ="FourthElement" select ="$Translators"/>
  4982.                                     </xsl:call-template>
  4983.  
  4984.                                     <xsl:value-of select="$CityBroadcasterStationPublisherDateMonthYearHyphenSection"/>
  4985.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  4986.                                 </xsl:if>
  4987.  
  4988.                                 <xsl:if test ="b:SourceType='Patent'">
  4989.                                     <xsl:if test ="string-length(b:PatentNumber) >0">
  4990.                                         
  4991.                                         
  4992.                                         
  4993.                                         
  4994.                                         
  4995.                                         <xsl:value-of select="$constGost_PatentNumberHeader"/>
  4996.                                         <xsl:value-of select ="b:PatentNumber"/>
  4997.                                     </xsl:if>
  4998.                                     <xsl:if test ="string-length(b:Type) >0">
  4999.                                         
  5000.                                         
  5001.                                         
  5002.                                         
  5003.                                         
  5004.                                         <xsl:value-of select="$constGost_PatentTypeHeader"/>
  5005.                                         <xsl:value-of select ="b:Type"/>
  5006.                                     </xsl:if>
  5007.  
  5008.                                     <xsl:call-template name ="formatPrimaryResponsibilities">
  5009.                                         <xsl:with-param name ='FirstElement' select ='$Inventors'/>
  5010.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5011.                                             <xsl:call-template name ="getNonEmpty_Patent_PrimSectionsCount"/>
  5012.                                         </xsl:with-param>
  5013.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  5014.                                     </xsl:call-template>
  5015.                                     
  5016.                                     <xsl:call-template name ="formatSecondaryResponsibilities">
  5017.                                         <xsl:with-param name ="FirstElement" select ="$Editors"/>
  5018.                                         <xsl:with-param name ="SecondElement" select ="$Translators"/>
  5019.                                     </xsl:call-template>
  5020.  
  5021.                                     <xsl:value-of select ="$CountryRegionDateMonthYearHyphenSection"/>
  5022.                                 </xsl:if>
  5023.  
  5024.                                 <xsl:if test ="b:SourceType='ElectronicSource'">
  5025.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  5026.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  5027.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5028.                                             <xsl:call-template name ="getNonEmpty_ElectronicSource_PrimSectionsCount"/>
  5029.                                         </xsl:with-param>
  5030.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  5031.                                     </xsl:call-template>
  5032.  
  5033.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  5034.                     <xsl:with-param name ='FirstElement' select ='$Editors'/>
  5035.                     <xsl:with-param name ='SecondElement' select ='$ProducerNames'/>
  5036.                     <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  5037.                   </xsl:call-template>
  5038.  
  5039.                                     <xsl:value-of select="$CityPublisherProductionCompanyDateMonthYearHyphenSection"/>
  5040.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  5041.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  5042.                                 </xsl:if>
  5043.  
  5044.                                 <xsl:if test="b:SourceType='Case'">
  5045.                                     <xsl:if test ="string-length(b:CaseNumber) >0">
  5046.                                         
  5047.                                         
  5048.                                         
  5049.                                         
  5050.                                         
  5051.                                         <xsl:value-of select="$constGost_CaseNumberHeader"/>
  5052.                                         <xsl:value-of select ="b:CaseNumber"/>
  5053.                                     </xsl:if>
  5054.  
  5055.                                     <xsl:if test ="string-length(b:AbbreviatedCaseNumber) >0">
  5056.                                         
  5057.                                         
  5058.                                         
  5059.                                         
  5060.                                         
  5061.                                         <xsl:value-of select="$constGost_AbbreviatedCaseNumberHeader"/>
  5062.                                         <xsl:value-of select ="b:AbbreviatedCaseNumber"/>
  5063.                                     </xsl:if>
  5064.  
  5065.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  5066.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  5067.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5068.                                             <xsl:call-template name ="getNonEmpty_Case_PrimSectionsCount"/>
  5069.                                         </xsl:with-param>
  5070.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  5071.                                     </xsl:call-template>
  5072.  
  5073.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  5074.                                         <xsl:with-param name ='FirstElement' select ='$Counsels'/>
  5075.                                     </xsl:call-template>
  5076.  
  5077.                                     <xsl:value-of select ="$CityCourtDateMonthYearHyphenSection"/>
  5078.                                 </xsl:if>
  5079.  
  5080.  
  5081.                                 <xsl:if test="b:SourceType='Misc'">
  5082.  
  5083.                                     <xsl:call-template name ='formatPrimaryResponsibilities'>
  5084.                                         <xsl:with-param name ='FirstElement' select ='$Authors'/>
  5085.                                         <xsl:with-param name ="NonEmptyPrimSectionsCount">
  5086.                                             <xsl:call-template name ="getNonEmpty_Misc_PrimSectionsCount"/>
  5087.                                         </xsl:with-param>
  5088.                                         <xsl:with-param name ="MainSectionsCount" select ="$MainSectionsCount"/>
  5089.                                     </xsl:call-template>
  5090.  
  5091.                                     <xsl:call-template name ='formatSecondaryResponsibilities'>
  5092.                                         <xsl:with-param name ='CollectionName' select ='b:PublicationTitle'/>
  5093.                                         <xsl:with-param name ='FirstElement' select ='$Compilers'/>
  5094.                                         <xsl:with-param name ="SecondElement" select ="$Editors"/>
  5095.                                         <xsl:with-param name ='ThirdElement' select ='$Translators'/>
  5096.                                     </xsl:call-template>
  5097.  
  5098.                                     <xsl:value-of select ="$CityPublisherDateMonthYearHyphenSection"/>
  5099.                                     <xsl:value-of select ="$EditionHyphenSection"/>
  5100.                                     <xsl:value-of select ="$VolumeHyphenSection"/>
  5101.                                     <xsl:value-of select ="$PagesHyphenSection"/>
  5102.                                 </xsl:if>
  5103.  
  5104.  
  5105.                                 
  5106.                                 <xsl:call-template name ="formatHyphenSection">
  5107.                                     <xsl:with-param name ="FirstElement" select ="b:Comments"/>
  5108.                                 </xsl:call-template>
  5109.  
  5110.                                 <xsl:call-template name ="formatHyphenSection">
  5111.                                     <xsl:with-param name ="FirstElement" select ="b:StandardNumber"/>
  5112.                                 </xsl:call-template>
  5113.  
  5114.                                 </xsl:variable>
  5115.  
  5116.                                 <xsl:if test = "string-length(normalize-space($srcText)) > 0">
  5117.                                     <xsl:copy-of select = "$srcText" />
  5118.                                     <xsl:call-template name="templ_prop_Dot"/>
  5119.                                 </xsl:if>
  5120.  
  5121.                             </xsl:element>
  5122.                         </xsl:for-each>
  5123.                     </body>
  5124.                 </html>
  5125.             </xsl:when>
  5126.         </xsl:choose>
  5127.     </xsl:template>
  5128.  
  5129.  
  5130.     
  5131.     
  5132.     
  5133.     
  5134.     <xsl:template name="MainContributors">
  5135.         <xsl:param name="SourceRoot"/>
  5136.         <xsl:choose>
  5137.             <xsl:when test="./b:SourceType='Book'">
  5138.                 <xsl:choose>
  5139.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5140.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5141.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5142.                 </xsl:choose>
  5143.             </xsl:when>
  5144.  
  5145.             <xsl:when test="./b:SourceType='BookSection'">
  5146.                 <xsl:choose>
  5147.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5148.                 </xsl:choose>
  5149.             </xsl:when>
  5150.  
  5151.             <xsl:when test="./b:SourceType='JournalArticle'">
  5152.                 <xsl:choose>
  5153.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5154.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5155.                 </xsl:choose>
  5156.             </xsl:when>
  5157.  
  5158.             <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  5159.                 <xsl:choose>
  5160.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5161.                 </xsl:choose>
  5162.             </xsl:when>
  5163.  
  5164.             <xsl:when test="./b:SourceType='ConferenceProceedings'">
  5165.                 <xsl:choose>
  5166.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5167.                 </xsl:choose>
  5168.             </xsl:when>
  5169.  
  5170.             <xsl:when test="./b:SourceType='Report'">
  5171.                 <xsl:choose>
  5172.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5173.                 </xsl:choose>
  5174.             </xsl:when>
  5175.  
  5176.             <xsl:when test="./b:SourceType='SoundRecording'">
  5177.                 <xsl:choose>
  5178.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  5179.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5180.                     <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  5181.                     <xsl:when test="string-length(./b:Author/b:Conductor)>0">Conductor</xsl:when>
  5182.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5183.                 </xsl:choose>
  5184.             </xsl:when>
  5185.  
  5186.             <xsl:when test="./b:SourceType='Performance'">
  5187.                 <xsl:choose>
  5188.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  5189.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  5190.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5191.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5192.                 </xsl:choose>
  5193.             </xsl:when>
  5194.  
  5195.             <xsl:when test="./b:SourceType='Art'">
  5196.                 <xsl:choose>
  5197.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  5198.                 </xsl:choose>
  5199.             </xsl:when>
  5200.  
  5201.             <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  5202.                 <xsl:choose>
  5203.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5204.                 </xsl:choose>
  5205.             </xsl:when>
  5206.  
  5207.             <xsl:when test="./b:SourceType='InternetSite'">
  5208.                 <xsl:choose>
  5209.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5210.                 </xsl:choose>
  5211.             </xsl:when>
  5212.  
  5213.             <xsl:when test="./b:SourceType='Film'">
  5214.                 <xsl:choose>
  5215.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  5216.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  5217.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  5218.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5219.                 </xsl:choose>
  5220.             </xsl:when>
  5221.  
  5222.             <xsl:when test="./b:SourceType='Interview'">
  5223.                 <xsl:choose>
  5224.                     <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  5225.                 </xsl:choose>
  5226.             </xsl:when>
  5227.  
  5228.             <xsl:when test="./b:SourceType='Patent'">
  5229.                 <xsl:choose>
  5230.                     <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  5231.                 </xsl:choose>
  5232.             </xsl:when>
  5233.  
  5234.             <xsl:when test="./b:SourceType='ElectronicSource'">
  5235.                 <xsl:choose>
  5236.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5237.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5238.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  5239.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5240.                 </xsl:choose>
  5241.             </xsl:when>
  5242.  
  5243.             <xsl:when test="./b:SourceType='Case'">
  5244.                 <xsl:choose>
  5245.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5246.                     <xsl:when test="string-length(./b:Author/b:Counsel)>0">Counsel</xsl:when>
  5247.                 </xsl:choose>
  5248.             </xsl:when>
  5249.  
  5250.             <xsl:when test="./b:SourceType='Misc'">
  5251.                 <xsl:choose>
  5252.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  5253.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  5254.                     <xsl:when test="string-length(./b:Author/b:Compiler)>0">Compiler</xsl:when>
  5255.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  5256.                 </xsl:choose>
  5257.             </xsl:when>
  5258.         </xsl:choose>
  5259.     </xsl:template>
  5260.  
  5261.     
  5262.     <xsl:template name="sortedList">
  5263.         <xsl:param name="sourceRoot"/>
  5264.         
  5265.         <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">
  5266.             <xsl:sort select="b:SortingString" />
  5267.         </xsl:apply-templates>
  5268.         
  5269.     </xsl:template>
  5270.  
  5271.     
  5272.     <xsl:template match="*">
  5273.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5274.             
  5275.             <xsl:for-each select="@*">
  5276.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  5277.                     
  5278.                     <xsl:value-of select="." />
  5279.                 </xsl:attribute>
  5280.             </xsl:for-each>
  5281.             <xsl:apply-templates>
  5282.                 <xsl:sort select="b:SortingString" />
  5283.             </xsl:apply-templates>
  5284.         </xsl:element>
  5285.     </xsl:template>
  5286.  
  5287.     
  5288.     <xsl:template match="text()">
  5289.         <xsl:value-of select="." />
  5290.     </xsl:template>
  5291.  
  5292.     <xsl:template name="maxAuthor">
  5293.         <xsl:choose>
  5294.             <xsl:when test="count(b:NameList/b:Person) > _MaxAuthor">
  5295.                 <xsl:value-of select="_MaxAuthor"/>
  5296.             </xsl:when>
  5297.             <xsl:otherwise>
  5298.                 <xsl:value-of select="count(b:NameList/b:Person)"/>
  5299.             </xsl:otherwise>
  5300.         </xsl:choose>
  5301.     </xsl:template>
  5302.  
  5303.     
  5304.     <xsl:template name="formatLastFirst">
  5305.         <xsl:call-template name="formatNameCore">
  5306.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Gost_Authors_FML"/></xsl:with-param>
  5307.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Gost_Authors_FM"/></xsl:with-param>
  5308.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Gost_Authors_ML"/></xsl:with-param>
  5309.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Gost_Authors_FL"/></xsl:with-param>
  5310.             <xsl:with-param name="upperLast">no</xsl:with-param>
  5311.             <xsl:with-param name="withDot">no</xsl:with-param>
  5312.         </xsl:call-template>
  5313.     </xsl:template>
  5314.  
  5315.     
  5316.     
  5317.     
  5318.     <xsl:template name="formatPersonSeparator">
  5319.         <xsl:variable name="cMaxAuthor">
  5320.             <xsl:value-of select="count(../b:Person)"/>
  5321.         </xsl:variable>
  5322.  
  5323. <xsl:variable name="constGost_PersonSeparator">
  5324.     <xsl:call-template name="templ_prop_ListSeparator" />
  5325.     
  5326. </xsl:variable>
  5327. <xsl:variable name="constGost_PersonAndOther">
  5328.     <xsl:call-template name="templ_prop_Space" />
  5329.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  5330.     <xsl:call-template name="templ_str_AndOthersUnCap"/>
  5331.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  5332.     
  5333. </xsl:variable>
  5334.  
  5335.  
  5336.         <xsl:variable name="cMaxAllow">
  5337.             
  5338.             <xsl:choose>
  5339.                 <xsl:when test="$cMaxAuthor > ../b:_MaxAuthor and ../b:_MaxAuthor > 0">
  5340.                     <xsl:value-of select="../b:_MaxAuthor"/>
  5341.                 </xsl:when>
  5342.                 <xsl:otherwise>
  5343.                     <xsl:value-of select="$cMaxAuthor"/>
  5344.                 </xsl:otherwise>
  5345.             </xsl:choose>
  5346.         </xsl:variable>
  5347.  
  5348.         <xsl:choose>
  5349.             <xsl:when test="$cMaxAuthor > 3">
  5350.                 
  5351.                 
  5352.                 <xsl:value-of select="$constGost_PersonAndOther"/>
  5353.             </xsl:when>
  5354.             <xsl:when test="$cMaxAllow - 1 > position()">
  5355.                 
  5356.                 
  5357.                 <xsl:value-of select="$constGost_PersonSeparator"/>
  5358.             </xsl:when>
  5359.             <xsl:when test="position() = $cMaxAuthor - 1">
  5360.                 <xsl:variable name="noAndBeforeLastAuthor">
  5361.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  5362.                 </xsl:variable>
  5363.  
  5364.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  5365.                     <xsl:call-template name="templ_prop_Space"/>
  5366.                     <xsl:call-template name="templ_str_AndUnCap"/>
  5367.                     <xsl:call-template name="templ_prop_Space"/>
  5368.                 </xsl:if>
  5369.                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  5370.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  5371.                 </xsl:if>
  5372.                 
  5373.                 
  5374.             </xsl:when>
  5375.         </xsl:choose>
  5376.     </xsl:template>
  5377.  
  5378.  
  5379.     <xsl:template name="formatPersons">
  5380.         <xsl:variable name="cMaxAllow">
  5381.             <xsl:call-template name="maxAuthor"/>
  5382.         </xsl:variable>
  5383.  
  5384.         <xsl:variable name ="cIsEtAl">
  5385.             
  5386.             <xsl:choose>
  5387.                 <xsl:when test ="count(b:NameList/b:Person[4]) >0">
  5388.                     <xsl:value-of select="1"/>
  5389.                 </xsl:when>
  5390.                 <xsl:otherwise>
  5391.                     <xsl:value-of select = "0"/>
  5392.                 </xsl:otherwise>
  5393.             </xsl:choose>
  5394.         </xsl:variable>
  5395.  
  5396.         <xsl:variable name="cEtAlPosition">
  5397.             
  5398.             <xsl:value-of select ="1"/>
  5399.         </xsl:variable>
  5400.  
  5401.         <xsl:if test="string-length(b:Corporate)=0">
  5402.             <xsl:for-each select="b:NameList/b:Person">
  5403.                 <xsl:variable name="cMaxAuthor">
  5404.                     <xsl:value-of select="count(../b:NameList/b:Person)"/>
  5405.                 </xsl:variable>
  5406.  
  5407.                 
  5408.                 
  5409.                 <xsl:if test="($cIsEtAl = '0' and $cMaxAllow >= position()) or ($cIsEtAl = '1' and not (position()>$cEtAlPosition)) ">
  5410.                     <xsl:call-template name="formatLastFirst"/>
  5411.                     <xsl:call-template name="formatPersonSeparator"/>
  5412.                 </xsl:if>
  5413.             </xsl:for-each>
  5414.         </xsl:if>
  5415.         <xsl:if test="string-length(b:Corporate)>0">
  5416.               <xsl:value-of select="b:Corporate"/>
  5417.         </xsl:if>
  5418.     </xsl:template>
  5419.  
  5420.     
  5421.     <xsl:template name="formatMainAuthor">
  5422.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)=0">
  5423.             <xsl:if test ="count(b:Author/b:Main/b:NameList/b:Person) >0">
  5424.                 <xsl:for-each select="b:Author/b:Main">
  5425.                     <xsl:call-template name="formatPersons"/>
  5426.                 </xsl:for-each>
  5427.             </xsl:if>
  5428.         </xsl:if>
  5429.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)>0">
  5430.               <xsl:value-of select="b:Author/b:Main/b:Corporate"/>
  5431.         </xsl:if>
  5432.     </xsl:template>
  5433.  
  5434.     
  5435.     <xsl:template name="formatAuthor">
  5436.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)=0">
  5437.             <xsl:if test ="count(b:Author/b:Author/b:NameList/b:Person) >0">
  5438.                 <xsl:call-template name="templ_str_AuthorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5439.                 <xsl:for-each select="b:Author/b:Author">
  5440.                     <xsl:call-template name="formatPersons"/>
  5441.                 </xsl:for-each>
  5442.             </xsl:if>
  5443.         </xsl:if>
  5444.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate)>0">
  5445.               <xsl:call-template name="templ_str_AuthorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5446.               <xsl:value-of select="b:Author/b:Main/b:Corporate"/>
  5447.         </xsl:if>
  5448.     </xsl:template>
  5449.  
  5450.     
  5451.     <xsl:template name="formatEditor">
  5452.         <xsl:if test="string-length(b:Author/b:Editor/b:NameList/b:Person/b:Last) > 0">
  5453.             <xsl:call-template name="templ_str_EditorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5454.             <xsl:for-each select="b:Author/b:Editor">
  5455.                 <xsl:call-template name="formatPersons"/>
  5456.             </xsl:for-each>
  5457.         </xsl:if>
  5458.     </xsl:template>
  5459.  
  5460.     
  5461.     <xsl:template name="formatTranslator">
  5462.         <xsl:if test="string-length(b:Author/b:Translator/b:NameList/b:Person/b:Last) > 0">
  5463.             <xsl:call-template name="templ_str_TranslatorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5464.             <xsl:for-each select="b:Author/b:Translator">
  5465.                 <xsl:call-template name="formatPersons"/>
  5466.             </xsl:for-each>
  5467.         </xsl:if>
  5468.     </xsl:template>
  5469.  
  5470.     
  5471.     <xsl:template name="formatArtist">
  5472.         <xsl:if test="string-length(b:Author/b:Artist/b:NameList/b:Person/b:Last) > 0">
  5473.             <xsl:call-template name="templ_str_ArtistShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5474.             <xsl:for-each select="b:Author/b:Artist">
  5475.                 <xsl:call-template name="formatPersons"/>
  5476.             </xsl:for-each>
  5477.         </xsl:if>
  5478.     </xsl:template>
  5479.  
  5480.     <xsl:template name="formatWriter">
  5481.         <xsl:if test="string-length(b:Author/b:Writer/b:NameList/b:Person/b:Last) > 0">
  5482.             <xsl:call-template name="templ_str_WriterShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5483.             <xsl:for-each select="b:Author/b:Writer">
  5484.                 <xsl:call-template name="formatPersons"/>
  5485.             </xsl:for-each>
  5486.         </xsl:if>
  5487.     </xsl:template>
  5488.  
  5489.     <xsl:template name="formatPerformer">
  5490.         <xsl:if test="string-length(b:Author/b:Performer/b:Corporate)=0">
  5491.             <xsl:if test="string-length(b:Author/b:Performer/b:NameList/b:Person/b:Last) > 0">
  5492.                 <xsl:call-template name="templ_str_PerformerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5493.                 <xsl:for-each select="b:Author/b:Performer">
  5494.                     <xsl:call-template name="formatPersons"/>
  5495.                 </xsl:for-each>
  5496.             </xsl:if>
  5497.         </xsl:if>
  5498.         <xsl:if test="string-length(b:Author/b:Performer/b:Corporate)>0">
  5499.             <xsl:call-template name="templ_str_PerformerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5500.             <xsl:value-of select="b:Author/b:Performer/b:Corporate"/>
  5501.         </xsl:if>        
  5502.     </xsl:template>
  5503.  
  5504.  
  5505.     <xsl:template name="formatDirector">
  5506.         <xsl:if test="string-length(b:Author/b:Director/b:NameList/b:Person/b:Last) > 0">
  5507.             <xsl:call-template name="templ_str_DirectorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5508.             <xsl:for-each select="b:Author/b:Director">
  5509.                 <xsl:call-template name="formatPersons"/>
  5510.             </xsl:for-each>
  5511.         </xsl:if>
  5512.     </xsl:template>
  5513.  
  5514.  
  5515.  
  5516.     <xsl:template name="formatInterviewee">
  5517.         <xsl:if test="string-length(b:Author/b:Interviewee/b:NameList/b:Person/b:Last) > 0">
  5518.             <xsl:call-template name="templ_str_IntervieweeShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5519.             <xsl:for-each select="b:Author/b:Interviewee">
  5520.                 <xsl:call-template name="formatPersons"/>
  5521.             </xsl:for-each>
  5522.         </xsl:if>
  5523.     </xsl:template>
  5524.  
  5525.     <xsl:template name="formatProducerName">
  5526.     
  5527.         <xsl:variable name="constGost_ProducerNameHeader">
  5528.             <xsl:call-template name="templ_str_ProducerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>            
  5529.         </xsl:variable>
  5530.     
  5531.         <xsl:if test="string-length(b:Author/b:ProducerName/b:NameList/b:Person/b:Last) > 0">
  5532.             <xsl:call-template name="templ_str_ProducerShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5533.             <xsl:for-each select="b:Author/b:ProducerName">
  5534.                 <xsl:call-template name="formatPersons"/>
  5535.             </xsl:for-each>
  5536.         </xsl:if>
  5537.     </xsl:template>
  5538.  
  5539.  
  5540.     <xsl:template name="formatConductor">
  5541.         <xsl:if test="string-length(b:Author/b:Conductor/b:NameList/b:Person/b:Last) > 0">
  5542.             <xsl:call-template name="templ_str_ConductorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5543.             <xsl:for-each select="b:Author/b:Conductor">
  5544.                 <xsl:call-template name="formatPersons"/>
  5545.             </xsl:for-each>
  5546.         </xsl:if>
  5547.     </xsl:template>
  5548.  
  5549.     <xsl:template name="formatComposer">
  5550.         <xsl:if test="string-length(b:Author/b:Composer/b:NameList/b:Person/b:Last) > 0">
  5551.             <xsl:call-template name="templ_str_ComposerShortUnCapIso"/><xsl:call-template name="templ_prop_Space"/>
  5552.             <xsl:for-each select="b:Author/b:Composer">
  5553.                 <xsl:call-template name="formatPersons"/>
  5554.             </xsl:for-each>
  5555.         </xsl:if>
  5556.     </xsl:template>
  5557.  
  5558.  
  5559.  
  5560.     <xsl:template name="formatCompiler">
  5561.         <xsl:if test="string-length(b:Author/b:Compiler/b:NameList/b:Person/b:Last) > 0">
  5562.             <xsl:call-template name="templ_str_CompilerShortUnCapIso"/><xsl:call-template name="templ_prop_Space"/>
  5563.             <xsl:for-each select="b:Author/b:Compiler">
  5564.                 <xsl:call-template name="formatPersons"/>
  5565.             </xsl:for-each>
  5566.         </xsl:if>
  5567.     </xsl:template>
  5568.  
  5569.     <xsl:template name ="formatCounsel">
  5570.         <xsl:if test="string-length(b:Author/b:Counsel/b:NameList/b:Person/b:Last)>0">
  5571.             <xsl:call-template name="templ_str_CounselShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5572.             <xsl:for-each select="b:Author/b:Counsel">
  5573.                 <xsl:call-template name="formatPersons"/>
  5574.             </xsl:for-each>
  5575.         </xsl:if>
  5576.     </xsl:template>
  5577.  
  5578.     <xsl:template name ="formatInventor">
  5579.         <xsl:if test="string-length(b:Author/b:Inventor/b:NameList/b:Person/b:Last)>0">
  5580.             <xsl:call-template name="templ_str_InventorShortUnCap"/><xsl:call-template name="templ_prop_Space"/>
  5581.             <xsl:for-each select="b:Author/b:Inventor">
  5582.                 <xsl:call-template name="formatPersons"/>
  5583.             </xsl:for-each>
  5584.         </xsl:if>
  5585.     </xsl:template>
  5586.  
  5587.     <xsl:template name ="getEtAlSectionsCount">
  5588.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person[4])"/>
  5589.         
  5590.     </xsl:template>
  5591.  
  5592.     <xsl:template name ="getAllPersonsCount">
  5593.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person)"/>
  5594.         
  5595.     </xsl:template>
  5596.  
  5597.     <xsl:template name ="getSectionsCount">
  5598.         <xsl:value-of select="count(b:Author/*)"/>
  5599.         
  5600.     </xsl:template>
  5601.  
  5602.     <xsl:template name ="getNonEmptySectionsCount">
  5603.         <xsl:value-of select="count(b:Author/*/b:NameList/b:Person[1])"/>
  5604.         
  5605.     </xsl:template>
  5606.  
  5607.     <xsl:template name ="getNonEmpty_Book_PrimSectionsCount">
  5608.         <xsl:value-of select="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5609.         
  5610.     </xsl:template>
  5611.  
  5612.     <xsl:template name ="getNonEmpty_BookSection_PrimSectionsCount">
  5613.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] )"/>
  5614.     </xsl:template>
  5615.  
  5616.     <xsl:template name ="getNonEmpty_JournalArticle_PrimSectionsCount">
  5617.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5618.     </xsl:template>
  5619.  
  5620.     <xsl:template name ="getNonEmpty_ArticleInAPeriodical_PrimSectionsCount">
  5621.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5622.     </xsl:template>
  5623.  
  5624.     <xsl:template name ="getNonEmpty_ConferenceProceedings_PrimSectionsCount">
  5625.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5626.     </xsl:template>
  5627.  
  5628.     <xsl:template name ="getNonEmpty_Report_PrimSectionsCount">
  5629.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5630.     </xsl:template>
  5631.  
  5632.     <xsl:template name ="getNonEmpty_SoundRecording_PrimSectionsCount">
  5633.         <xsl:value-of select ="count(b:Author/b:Composer/b:NameList/b:Person[1] | b:Author/b:Artist/b:NameList/b:Person[1] )"/>
  5634.     </xsl:template>
  5635.  
  5636.     <xsl:template name ="getNonEmpty_Performance_PrimSectionsCount">
  5637.         <xsl:value-of select ="count(b:Author/b:Writer/b:NameList/b:Person[1] | b:Author/b:Performer/b:NameList/b:Person[1] | b:Author/b:Performer/b:Corporate | b:Author/b:Director/b:NameList/b:Person[1] )"/>
  5638.     </xsl:template>
  5639.  
  5640.     <xsl:template name ="getNonEmpty_Art_PrimSectionsCount">
  5641.         <xsl:value-of select ="count(b:Author/b:Artist/b:NameList/b:Person[1] )"/>
  5642.     </xsl:template>
  5643.  
  5644.     <xsl:template name ="getNonEmpty_DocumentFromInternetSite_PrimSectionsCount">
  5645.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5646.     </xsl:template>
  5647.  
  5648.     <xsl:template name ="getNonEmpty_InternetSite_PrimSectionsCount">
  5649.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate )"/>
  5650.     </xsl:template>
  5651.  
  5652.     <xsl:template name ="getNonEmpty_Film_PrimSectionsCount">
  5653.         <xsl:value-of select ="count(b:Author/b:Writer/b:NameList/b:Person[1] | b:Author/b:Performer/b:NameList/b:Person[1] | b:Author/b:Performer/b:Corporate | b:Author/b:Director/b:NameList/b:Person[1] )"/>
  5654.     </xsl:template>
  5655.  
  5656.     <xsl:template name ="getNonEmpty_Interview_PrimSectionsCount">
  5657.         <xsl:value-of select ="count(b:Author/b:Interviewee/b:NameList/b:Person[1])"/>
  5658.     </xsl:template>
  5659.  
  5660.     <xsl:template name ="getNonEmpty_Patent_PrimSectionsCount">
  5661.         <xsl:value-of select ="count(b:Author/b:Inventor/b:NameList/b:Person[1])"/>
  5662.     </xsl:template>
  5663.  
  5664.     <xsl:template name ="getNonEmpty_ElectronicSource_PrimSectionsCount">
  5665.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5666.     </xsl:template>
  5667.  
  5668.     <xsl:template name ="getNonEmpty_Case_PrimSectionsCount">
  5669.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5670.     </xsl:template>
  5671.  
  5672.     <xsl:template name ="getNonEmpty_Misc_PrimSectionsCount">
  5673.         <xsl:value-of select ="count(b:Author/b:Author/b:NameList/b:Person[1] | b:Author/b:Author/b:Corporate)"/>
  5674.     </xsl:template>
  5675.  
  5676.     
  5677.     <xsl:template name="populateMain">
  5678.         <xsl:param name="Type"/>
  5679.         
  5680.         <xsl:element name="{$Type}">
  5681.             
  5682.             <xsl:for-each select="/*[$Type]/b:Source">
  5683.                 
  5684.                 <xsl:variable name="MostImportantAuthorLocalName">
  5685.                     
  5686.                     <xsl:call-template name="MainContributors"/>
  5687.                 </xsl:variable>
  5688.                 <xsl:element name="{'b:Source'}">
  5689.                     
  5690.             <b:SortingString>
  5691.  
  5692.                   <xsl:variable name = "author0">
  5693.                   <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  5694.                     <xsl:call-template name="formatPersons"/>
  5695.                   </xsl:for-each>
  5696.                 </xsl:variable>
  5697.  
  5698.                   <xsl:variable name = "author">
  5699.                     <xsl:choose>
  5700.                         <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  5701.                             <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  5702.                         </xsl:when>
  5703.                         <xsl:when test="string-length($author0) > 0">
  5704.                             <xsl:value-of select="$author0"/>
  5705.                         </xsl:when>
  5706.                     </xsl:choose>
  5707.                 </xsl:variable>
  5708.  
  5709.                 <xsl:if test="string-length($author) > 0">
  5710.                     <xsl:text> </xsl:text>
  5711.                     <xsl:value-of select="$author"/>
  5712.                 </xsl:if>
  5713.             
  5714.                 <xsl:if test="string-length(b:Title) > 0">
  5715.                     <xsl:text> </xsl:text>
  5716.                     <xsl:value-of select="b:Title"/>
  5717.                 </xsl:if>
  5718.             </b:SortingString>
  5719.             
  5720.           <xsl:if test="$Type='b:Citation'">
  5721.             
  5722.             <b:Title>
  5723.               
  5724.               <xsl:if test="string-length(b:Title)>0">
  5725.                 <xsl:value-of select="b:Title"/>
  5726.               </xsl:if>
  5727.               
  5728.               <xsl:if test="string-length(b:Title)=0">
  5729.                 <xsl:choose>
  5730.                   <xsl:when test="b:SourceType='Book' or
  5731.                                   b:SourceType='JournalArticle' or
  5732.                                   b:SourceType='ConferenceProceedings' or
  5733.                                   b:SourceType='Report' or
  5734.                                   b:SourceType='Performance' or
  5735.                                   b:SourceType='Film' or
  5736.                                   b:SourceType='Patent' or
  5737.                                   b:SourceType='Case'">
  5738.  
  5739.                     <xsl:value-of select="b:ShortTitle"/>
  5740.                   </xsl:when>
  5741.  
  5742.                   <xsl:when test="b:SourceType='BookSection'">
  5743.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5744.                     <xsl:variable name="bookTitle" select="b:BookTitle"/>
  5745.  
  5746.                     <xsl:choose>
  5747.                       <xsl:when test="string-length($shortTitle)>0">
  5748.                         <xsl:value-of select="$shortTitle"/>
  5749.                       </xsl:when>
  5750.                       <xsl:when test="string-length($bookTitle)>0">
  5751.                         <xsl:value-of select="$bookTitle"/>
  5752.                       </xsl:when>
  5753.                     </xsl:choose>
  5754.  
  5755.                   </xsl:when>
  5756.  
  5757.                   <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  5758.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5759.                     <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  5760.  
  5761.                     <xsl:choose>
  5762.                       <xsl:when test="string-length($shortTitle)>0">
  5763.                         <xsl:value-of select="$shortTitle"/>
  5764.                       </xsl:when>
  5765.                       <xsl:when test="string-length($periodicalTitle)>0">
  5766.                         <xsl:value-of select="$periodicalTitle"/>
  5767.                       </xsl:when>
  5768.                     </xsl:choose>
  5769.                   </xsl:when>
  5770.  
  5771.                   <xsl:when test="b:SourceType='InternetSite' or
  5772.                                   b:SourceType='DocumentFromInternetSite'">
  5773.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5774.                     <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  5775.  
  5776.                     <xsl:choose>
  5777.                       <xsl:when test="string-length($shortTitle)>0">
  5778.                         <xsl:value-of select="$shortTitle"/>
  5779.                       </xsl:when>
  5780.                       <xsl:when test="string-length($internetSiteTitle)>0">
  5781.                         <xsl:value-of select="$internetSiteTitle"/>
  5782.                       </xsl:when>
  5783.                     </xsl:choose>
  5784.                   </xsl:when>
  5785.  
  5786.                   <xsl:when test="b:SourceType='ElectronicSource' or
  5787.                                   b:SourceType='Art' or
  5788.                                   b:SourceType='Misc'">
  5789.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5790.                     <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  5791.  
  5792.                     <xsl:choose>
  5793.                       <xsl:when test="string-length($shortTitle)>0">
  5794.                         <xsl:value-of select="$shortTitle"/>
  5795.                       </xsl:when>
  5796.                       <xsl:when test="string-length($publicationTitle)>0">
  5797.                         <xsl:value-of select="$publicationTitle"/>
  5798.                       </xsl:when>
  5799.                     </xsl:choose>
  5800.                   </xsl:when>
  5801.  
  5802.                   <xsl:when test="b:SourceType='SoundRecording'">
  5803.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5804.                     <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  5805.  
  5806.                     <xsl:choose>
  5807.                       <xsl:when test="string-length($shortTitle)>0">
  5808.                         <xsl:value-of select="$shortTitle"/>
  5809.                       </xsl:when>
  5810.                       <xsl:when test="string-length($albumTitle)>0">
  5811.                         <xsl:value-of select="$albumTitle"/>
  5812.                       </xsl:when>
  5813.                     </xsl:choose>
  5814.                   </xsl:when>
  5815.  
  5816.                   <xsl:when test="b:SourceType='Interview'">
  5817.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  5818.                     
  5819.                     <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  5820.                     
  5821.  
  5822.                     <xsl:choose>
  5823.                       <xsl:when test="string-length($shortTitle)>0">
  5824.                         <xsl:value-of select="$shortTitle"/>
  5825.                       </xsl:when>
  5826.                       
  5827.                       <xsl:when test="string-length($broadcastTitle)>0">
  5828.                         <xsl:value-of select="$broadcastTitle"/>
  5829.                       </xsl:when>
  5830.                       
  5831.                     </xsl:choose>
  5832.                   </xsl:when>
  5833.  
  5834.                 </xsl:choose>
  5835.               </xsl:if>
  5836.             </b:Title>
  5837.           </xsl:if>
  5838.           <b:Author>
  5839.                         
  5840.                         <b:Main>
  5841.                             <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  5842.                                 <b:NameList>
  5843.                                     <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">
  5844.                                         <b:Person>
  5845.                                             
  5846.                                             <b:Last>
  5847.                                                 <xsl:value-of select="./b:Last"/>
  5848.                                             </b:Last>
  5849.                                             <b:First>
  5850.                                                 <xsl:value-of select="./b:First"/>
  5851.                                             </b:First>
  5852.                                             <b:Middle>
  5853.                                                 <xsl:value-of select="./b:Middle"/>
  5854.                                             </b:Middle>
  5855.                                         </b:Person>
  5856.                                     </xsl:for-each>
  5857.                                 </b:NameList>
  5858.                             </xsl:if>
  5859.                             <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  5860.                                 <b:Corporate>
  5861.                                   <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  5862.                                 </b:Corporate>
  5863.                             </xsl:if>
  5864.                         </b:Main>
  5865.                         <xsl:for-each select="./b:Author/*">
  5866.                             
  5867.                             <xsl:if test="name()!='b:Main'">
  5868.                                 <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5869.                                     <xsl:call-template name="copyNameNodes"/>
  5870.                                     
  5871.                                 </xsl:element>
  5872.                             </xsl:if>
  5873.                         </xsl:for-each>
  5874.                     </b:Author>
  5875.                     <xsl:for-each select="*">
  5876.                         
  5877.             <xsl:if test="name()!='b:Author' and not(name()='b:Title' and $Type='b:Citation')">
  5878.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5879.                                 <xsl:call-template name="copyNodes"/>
  5880.                                 
  5881.                             </xsl:element>
  5882.                         </xsl:if>
  5883.                     </xsl:for-each>
  5884.                 </xsl:element>
  5885.             </xsl:for-each>
  5886.             <xsl:for-each select="/*[$Type]/*">
  5887.                 
  5888.                 <xsl:if test="local-name()!='Source'">
  5889.                     <xsl:call-template name="copyTrees"/>
  5890.                 </xsl:if>
  5891.             </xsl:for-each>
  5892.         </xsl:element>
  5893.     </xsl:template>
  5894.  
  5895.     
  5896.     <xsl:template name="copyNameNodes">
  5897.         <xsl:if test="string-length(b:Corporate)=0">
  5898.             <b:NameList>
  5899.                 <xsl:for-each select="b:NameList/b:Person">
  5900.                     
  5901.                     <b:Person>
  5902.                         
  5903.                         <xsl:if test="string-length(./b:Last)>0">
  5904.                             
  5905.                             <b:Last>
  5906.                                 <xsl:value-of select="./b:Last"/>
  5907.                             </b:Last>
  5908.                         </xsl:if>
  5909.                         <xsl:if test="string-length(./b:First)>0">
  5910.                             <b:First>
  5911.                                 <xsl:value-of select="./b:First"/>
  5912.                             </b:First>
  5913.                         </xsl:if>
  5914.                         <xsl:if test="string-length(./b:Middle)>0">
  5915.                             <b:Middle>
  5916.                                 <xsl:value-of select="./b:Middle"/>
  5917.                             </b:Middle>
  5918.                         </xsl:if>
  5919.                     </b:Person>
  5920.                 </xsl:for-each>
  5921.             </b:NameList>
  5922.         </xsl:if>
  5923.         <xsl:if test="string-length(b:Corporate)>0">
  5924.             <b:Corporate>
  5925.               <xsl:value-of select="b:Corporate"/>
  5926.             </b:Corporate>
  5927.         </xsl:if>
  5928.     </xsl:template>
  5929.  
  5930.     
  5931.     <xsl:template name="copyNodes">
  5932.         <xsl:value-of select="."/>
  5933.     </xsl:template>
  5934.  
  5935.     
  5936.     <xsl:template name="copyTrees">
  5937.         <xsl:copy-of select ='.'/>
  5938.     </xsl:template>
  5939.  
  5940.     <xsl:template name ="formatColonElement">
  5941.         <xsl:param name ="FirstParam"></xsl:param>
  5942.         <xsl:param name ="SecondParam"></xsl:param>
  5943.         <xsl:param name ="ThirdParam"></xsl:param>
  5944.         <xsl:param name ="FourthParam"></xsl:param>
  5945.  
  5946.         <xsl:variable name="constGost_ColonElementSeparator">
  5947.             <xsl:call-template name="templ_prop_NonBreakingSpace" />
  5948.             <xsl:call-template name="templ_prop_EnumSeparator" />
  5949.             
  5950.         </xsl:variable>
  5951.  
  5952.         <xsl:value-of select ="$FirstParam"/>
  5953.         <xsl:if test ="string-length($FirstParam)>0 and (string-length($SecondParam)>0 or string-length($ThirdParam)>0 or string-length($FourthParam)>0)">
  5954.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5955.         </xsl:if>
  5956.         <xsl:value-of select ="$SecondParam"/>
  5957.         <xsl:if test ="string-length($SecondParam)>0 and (string-length($ThirdParam)>0 or string-length($FourthParam)>0)">
  5958.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5959.         </xsl:if>
  5960.         <xsl:value-of select ="$ThirdParam"/>
  5961.         <xsl:if test ="string-length($ThirdParam)>0 and string-length($FourthParam)>0">
  5962.             <xsl:value-of select="$constGost_ColonElementSeparator"/>
  5963.         </xsl:if>
  5964.         <xsl:value-of select ="$FourthParam"/>
  5965.     </xsl:template>
  5966.  
  5967.     <xsl:template name ="formatLocationElement">
  5968.         
  5969.         <xsl:param name="noSL"/>
  5970.         <xsl:param name="Location"/>
  5971.         <xsl:param name ="Publisher"/>
  5972.         <xsl:param name ="Distributor"/>
  5973.         
  5974. <xsl:variable name="constGost_SineNomine">
  5975.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  5976.     <xsl:call-template name="templ_str_SineNomineShort"/>
  5977.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  5978.     
  5979. </xsl:variable>
  5980. <xsl:variable name="constGost_SineLoco">
  5981.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  5982.     <xsl:call-template name="templ_str_SineLocoShort"/>
  5983.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  5984.     
  5985. </xsl:variable>
  5986.         
  5987.         
  5988.         <xsl:choose>
  5989.             <xsl:when test ="string-length($Location)=0 and string-length($Publisher)=0">
  5990.                 
  5991.                 <xsl:variable name ="LocationColonElement">
  5992.                     <xsl:call-template name ="formatColonElement">
  5993.                         <xsl:with-param name ="FirstParam"/>
  5994.                         <xsl:with-param name ="SecondParam"/>
  5995.                         <xsl:with-param name ="ThirdParam" select ="b:Distributor"/>
  5996.                     </xsl:call-template>
  5997.                 </xsl:variable>
  5998.  
  5999.                 <xsl:value-of select ="$LocationColonElement"/>
  6000.             </xsl:when>
  6001.             <xsl:when test ="string-length($Location)>0 or string-length($Publisher)>0">
  6002.  
  6003.                 <xsl:variable name ="ColonElementFirstParam">
  6004.                     <xsl:choose>
  6005.                         <xsl:when test ="$noSL='yes'"></xsl:when>
  6006.                         
  6007.                         <xsl:when test ="string-length($Location)=0">
  6008.                             
  6009.                             
  6010.                             
  6011.                             
  6012.                             
  6013.                             
  6014.                             
  6015.                             <xsl:value-of select="$constGost_SineLoco"/>
  6016.                         </xsl:when>
  6017.                         <xsl:otherwise>
  6018.                             <xsl:value-of select ="$Location"/>
  6019.                         </xsl:otherwise>
  6020.                     </xsl:choose>
  6021.                 </xsl:variable>
  6022.  
  6023.                 <xsl:variable name ="ColonElementSecondParam">
  6024.                     <xsl:choose>
  6025.                         
  6026.                         <xsl:when test ="string-length($Publisher)=0">
  6027.                             
  6028.                             
  6029.                             
  6030.                             
  6031.                             
  6032.                             
  6033.                             
  6034.                             <xsl:value-of select="$constGost_SineNomine"/>
  6035.                         </xsl:when>
  6036.                         <xsl:otherwise>
  6037.                             <xsl:value-of select ="$Publisher"/>
  6038.                         </xsl:otherwise>
  6039.                     </xsl:choose>
  6040.                 </xsl:variable>
  6041.  
  6042.                 <xsl:variable name ="ColonElementThirdParam">
  6043.                     <xsl:value-of select ="$Distributor"/>
  6044.                 </xsl:variable>
  6045.  
  6046.                 <xsl:variable name ="LocationColonElement">
  6047.                     <xsl:call-template name ="formatColonElement">
  6048.                         <xsl:with-param name ="FirstParam" select ="$ColonElementFirstParam"/>
  6049.                         <xsl:with-param name ="SecondParam" select ="$ColonElementSecondParam"/>
  6050.                         <xsl:with-param name ="ThirdParam" select ="$ColonElementThirdParam"/>
  6051.                     </xsl:call-template>
  6052.                 </xsl:variable>
  6053.  
  6054.                 <xsl:value-of select ="$LocationColonElement"/>
  6055.             </xsl:when>
  6056.         </xsl:choose>
  6057.     </xsl:template>
  6058.  
  6059.     <xsl:template name ="formatHyphenSection">
  6060.         <xsl:param name="FirstElement"/>
  6061.         <xsl:param name="SecondElement"/>
  6062.         
  6063. <xsl:variable name="constGost_HyphenSectionHeader">
  6064.     <xsl:call-template name="templ_prop_Dot" />
  6065.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  6066.     <xsl:call-template name="templ_prop_FromToDash" />
  6067.     <xsl:call-template name="templ_prop_Space" />
  6068.     
  6069. </xsl:variable>
  6070. <xsl:variable name="constGost_HyphenSectionSeparator">
  6071.     <xsl:call-template name="templ_prop_ListSeparator" />
  6072.     
  6073. </xsl:variable>
  6074. <xsl:variable name="constGost_HyphenSectionPartsSeparator">
  6075.     <xsl:call-template name="templ_prop_ListSeparator" />
  6076.     
  6077. </xsl:variable>
  6078.         
  6079.         
  6080.         <xsl:if test="not (string-length($FirstElement)=0 and string-length($SecondElement)=0)">
  6081.             
  6082.             
  6083.             
  6084.             
  6085.             
  6086.             <xsl:value-of select="$constGost_HyphenSectionHeader"/>
  6087.             <xsl:if test="string-length($FirstElement)>0">
  6088.                 <xsl:value-of select ="$FirstElement"/>
  6089.             </xsl:if>
  6090.             <xsl:if test="string-length($SecondElement)>0">
  6091.                 <xsl:if test ="string-length($FirstElement)>0">
  6092.                     
  6093.                     
  6094.                     
  6095.                     <xsl:value-of select="$constGost_HyphenSectionPartsSeparator"/>
  6096.                 </xsl:if>
  6097.                 <xsl:value-of select ="$SecondElement"/>
  6098.             </xsl:if>
  6099.         </xsl:if>
  6100.     </xsl:template>
  6101.  
  6102.     <xsl:template name="formatDateMonthYear">
  6103.         <xsl:param name="appendSpace"/>
  6104.         <xsl:call-template name="formatDateCore">
  6105.             <xsl:with-param name="day">
  6106.                 <xsl:call-template name="handleSpaces">
  6107.                     <xsl:with-param name="field" select="b:Day"/>
  6108.                 </xsl:call-template>
  6109.             </xsl:with-param>
  6110.             <xsl:with-param name="month">
  6111.                 <xsl:call-template name="handleSpaces">
  6112.                     <xsl:with-param name="field" select="b:Month"/>
  6113.                 </xsl:call-template>
  6114.             </xsl:with-param>
  6115.             <xsl:with-param name="year">
  6116.                 <xsl:call-template name="handleSpaces">
  6117.                     <xsl:with-param name="field" select="b:Year"/>
  6118.                 </xsl:call-template>
  6119.             </xsl:with-param>
  6120.             
  6121.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_Gost_Date_DMY"/></xsl:with-param>
  6122.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_Gost_Date_DM"/></xsl:with-param>
  6123.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_Gost_Date_MY"/></xsl:with-param>
  6124.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_Gost_Date_DY"/></xsl:with-param>
  6125.         </xsl:call-template>
  6126.     </xsl:template>
  6127.  
  6128.  
  6129.     <xsl:template name="formatDateMonthYearAccessed">
  6130.         <xsl:param name="appendSpace"/>
  6131.         <xsl:call-template name="formatDateCore">
  6132.             <xsl:with-param name="day">
  6133.                 <xsl:call-template name="handleSpaces">
  6134.                     <xsl:with-param name="field" select="b:DayAccessed"/>
  6135.                 </xsl:call-template>
  6136.             </xsl:with-param>
  6137.             <xsl:with-param name="month">
  6138.                 <xsl:call-template name="handleSpaces">
  6139.                     <xsl:with-param name="field" select="b:MonthAccessed"/>
  6140.                 </xsl:call-template>
  6141.             </xsl:with-param>
  6142.             <xsl:with-param name="year">
  6143.                 <xsl:call-template name="handleSpaces">
  6144.                     <xsl:with-param name="field" select="b:YearAccessed"/>
  6145.                 </xsl:call-template>
  6146.             </xsl:with-param>
  6147.             
  6148.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_Gost_Date_DMY"/></xsl:with-param>
  6149.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_Gost_Date_DM"/></xsl:with-param>
  6150.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_Gost_Date_MY"/></xsl:with-param>
  6151.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_Gost_Date_DY"/></xsl:with-param>
  6152.         </xsl:call-template>
  6153.     </xsl:template>
  6154.  
  6155.  
  6156.     <xsl:template name ="formatPrimaryResponsibilities">
  6157.         <xsl:param name ="FirstElement"></xsl:param>
  6158.         <xsl:param name ="SecondElement"></xsl:param>
  6159.         <xsl:param name ="ThirdElement"></xsl:param>
  6160.         <xsl:param name ="NonEmptyPrimSectionsCount">2</xsl:param>
  6161.         <xsl:param name ="MainSectionsCount">0</xsl:param>
  6162.  
  6163. <xsl:variable name="constGost_PrimaryResponsibilitiesOpen">
  6164.     <xsl:call-template name="templ_prop_Gost_GeneralOpen" />
  6165.     
  6166. </xsl:variable>
  6167. <xsl:variable name="constGost_PrimaryResponsibilitiesClose">
  6168.     <xsl:call-template name="templ_prop_Gost_GeneralClose" />
  6169.     
  6170. </xsl:variable>
  6171. <xsl:variable name="constGost_PrimaryResponsibilitiesSeparator">
  6172.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  6173.     <xsl:call-template name="templ_prop_GroupSeparator" />
  6174.     
  6175. </xsl:variable>
  6176. <xsl:variable name="constGost_PrimaryResponsibilitiesHeader">
  6177.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  6178.     <xsl:call-template name="templ_prop_Gost_OneSlash" />
  6179.     <xsl:call-template name="templ_prop_Space" />
  6180.     
  6181. </xsl:variable>
  6182.  
  6183.  
  6184.         <xsl:if test ="$NonEmptyPrimSectionsCount - $MainSectionsCount>0">
  6185.             
  6186.             
  6187.             
  6188.             
  6189.             
  6190.             
  6191.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesHeader"/>
  6192.         </xsl:if>
  6193.  
  6194.         
  6195.         <xsl:if test ="$NonEmptyPrimSectionsCount - $MainSectionsCount >2">
  6196.             
  6197.             
  6198.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesOpen"/>
  6199.         </xsl:if>
  6200.  
  6201.         
  6202.         <xsl:if test ='string-length($FirstElement)>0'>
  6203.             <xsl:value-of select = "$FirstElement"/>
  6204.         </xsl:if>
  6205.  
  6206.  
  6207.         
  6208.         <xsl:if test ="not ($FirstElement ='') and $NonEmptyPrimSectionsCount  - $MainSectionsCount > 1">
  6209.             
  6210.             
  6211.             
  6212.             
  6213.             
  6214.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesSeparator"/>
  6215.         </xsl:if>
  6216.  
  6217.         
  6218.         <xsl:if test ='string-length($SecondElement)>0'>
  6219.             <xsl:value-of select = "$SecondElement"/>
  6220.         </xsl:if>
  6221.  
  6222.         
  6223.         <xsl:if test ="($FirstElement ='' and $NonEmptyPrimSectionsCount - $MainSectionsCount >1) or ($NonEmptyPrimSectionsCount - $MainSectionsCount  > 2)">
  6224.             
  6225.             
  6226.             
  6227.             
  6228.             
  6229.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesSeparator"/>
  6230.         </xsl:if>
  6231.  
  6232.         
  6233.         <xsl:if test ='string-length($ThirdElement)>0'>
  6234.             <xsl:value-of select = "$ThirdElement"/>
  6235.         </xsl:if>
  6236.  
  6237.         
  6238.         <xsl:if test ="$NonEmptyPrimSectionsCount - $MainSectionsCount >2">
  6239.             
  6240.             
  6241.             <xsl:value-of select="$constGost_PrimaryResponsibilitiesClose"/>
  6242.         </xsl:if>
  6243.     </xsl:template>
  6244.  
  6245.     <xsl:template name ="format_SemiColonSeparated_Items">
  6246.         <xsl:param name="Item1"></xsl:param>
  6247.         <xsl:param name="Item2"></xsl:param>
  6248.         <xsl:param name="Item3"></xsl:param>
  6249.  
  6250. <xsl:variable name="constGost_SemiColonSeparatedItemsSeparator">
  6251.     <xsl:call-template name="templ_prop_NonBreakingSpace" />
  6252.     <xsl:call-template name="templ_prop_GroupSeparator" />
  6253.     
  6254. </xsl:variable>
  6255.  
  6256.  
  6257.         <xsl:value-of select ="$Item1"/>
  6258.         <xsl:if test ="string-length($Item1)>0 and (string-length($Item2)>0 or string-length($Item3) >0)">
  6259.             
  6260.             
  6261.             
  6262.             <xsl:value-of select="$constGost_SemiColonSeparatedItemsSeparator"/>
  6263.         </xsl:if>
  6264.         <xsl:value-of select ="$Item2"/>
  6265.         <xsl:if test ="string-length($Item2)>0 and string-length($Item3) >0">
  6266.             
  6267.             
  6268.             
  6269.             <xsl:value-of select="$constGost_SemiColonSeparatedItemsSeparator"/>
  6270.         </xsl:if>
  6271.         <xsl:value-of select ="$Item3"/>
  6272.     </xsl:template>
  6273.  
  6274.     <xsl:template name ="formatSecondaryResponsibilities">
  6275.         <xsl:param name ="CollectionName"></xsl:param>
  6276.         <xsl:param name ="FirstElement"></xsl:param>
  6277.         <xsl:param name ="SecondElement"></xsl:param>
  6278.         <xsl:param name ="ThirdElement"></xsl:param>
  6279.     <xsl:param name ="FourthElement"></xsl:param>
  6280.  
  6281.     <xsl:if test ="string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0 or string-length($ThirdElement)>0 or string-length($FourthElement)>0">
  6282.             <xsl:choose>
  6283.                 <xsl:when test ="string-length($CollectionName)>0">
  6284.                     
  6285.                     
  6286.                     
  6287.                     
  6288.                     
  6289.                     <xsl:value-of select="$constGost_CollectionNameHeader"/>
  6290.                     <xsl:value-of select ="$CollectionName"/>
  6291.                 </xsl:when>
  6292.                 <xsl:otherwise>
  6293.                     
  6294.                     
  6295.                     
  6296.                     
  6297.                     
  6298.                     <xsl:value-of select="$constGost_SecondaryResponsibilitiesHeader"/>
  6299.                 </xsl:otherwise>
  6300.             </xsl:choose>
  6301.  
  6302.             <xsl:if test ="string-length($CollectionName)>0 and string-length($FirstElement)>0">
  6303.                 
  6304.                 
  6305.                 
  6306.                 <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6307.             </xsl:if>
  6308.             <xsl:value-of select ="$FirstElement"/>
  6309.             <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0) and string-length($SecondElement)>0 ">
  6310.                 
  6311.                 
  6312.                 
  6313.                 <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6314.             </xsl:if>
  6315.             <xsl:value-of select ="$SecondElement"/>
  6316.             <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0) and string-length($ThirdElement)>0 ">
  6317.                 
  6318.                 
  6319.                 
  6320.                 <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6321.             </xsl:if>
  6322.             <xsl:value-of select ="$ThirdElement"/>
  6323.       <xsl:if test ="(string-length($CollectionName)>0 or string-length($FirstElement)>0 or string-length($SecondElement)>0 or string-length($ThirdElement)>0) and string-length($FourthElement)>0 ">
  6324.         
  6325.         
  6326.         
  6327.         <xsl:value-of select="$constGost_SecondaryResponsibilitiesSeparator"/>
  6328.       </xsl:if>
  6329.       <xsl:value-of select ="$FourthElement"/>
  6330.     </xsl:if>
  6331.  
  6332.  
  6333.  
  6334.     </xsl:template>
  6335.  
  6336.     <xsl:template name="handleSpaces">
  6337.         <xsl:param name="field"/>
  6338.  
  6339.     <xsl:variable name="prop_NormalizeSpace">
  6340.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  6341.     </xsl:variable>
  6342.  
  6343.     <xsl:choose>
  6344.             <xsl:when test="$prop_NormalizeSpace='yes'">
  6345.                 <xsl:value-of select="normalize-space($field)"/>
  6346.             </xsl:when>
  6347.             <xsl:otherwise>
  6348.                 <xsl:value-of select="$field"/>
  6349.             </xsl:otherwise>
  6350.         </xsl:choose>
  6351.     </xsl:template>
  6352.     
  6353.     <xsl:template name="need_Dot">
  6354.         <xsl:param name="field"/>
  6355.         
  6356.         <xsl:variable name="temp">
  6357.             <xsl:call-template name="handleSpaces">
  6358.                 <xsl:with-param name="field" select="$field"/>
  6359.             </xsl:call-template>
  6360.         </xsl:variable>
  6361.  
  6362.         <xsl:variable name="lastChar">
  6363.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  6364.         </xsl:variable>
  6365.  
  6366.     <xsl:variable name="prop_EndChars">
  6367.       <xsl:call-template name="templ_prop_EndChars"/>
  6368.     </xsl:variable>
  6369.  
  6370.  
  6371.     <xsl:choose>
  6372.             <xsl:when test="string-length($temp) = 0">
  6373.             </xsl:when>
  6374.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  6375.             </xsl:when>
  6376.             <xsl:otherwise>
  6377.                 <xsl:call-template name="templ_prop_Dot"/>
  6378.             </xsl:otherwise>
  6379.         </xsl:choose>
  6380.     </xsl:template>
  6381.     
  6382.     
  6383.  
  6384.  
  6385.     <xsl:template name="formatNameCore">
  6386.         <xsl:param name="FML"/>
  6387.         <xsl:param name="FM"/>
  6388.         <xsl:param name="ML"/>
  6389.         <xsl:param name="FL"/>
  6390.         <xsl:param name="upperLast"/>
  6391.         <xsl:param name="withDot"/>
  6392.  
  6393.         <xsl:variable name="first">
  6394.             <xsl:call-template name="handleSpaces">
  6395.                 <xsl:with-param name="field" select="b:First"/>
  6396.             </xsl:call-template>
  6397.         </xsl:variable>
  6398.  
  6399.         <xsl:variable name="middle">
  6400.             <xsl:call-template name="handleSpaces">
  6401.                 <xsl:with-param name="field" select="b:Middle"/>
  6402.             </xsl:call-template>
  6403.         </xsl:variable>
  6404.  
  6405.         <xsl:variable name="last">
  6406.             <xsl:call-template name="handleSpaces">
  6407.                 <xsl:with-param name="field" select="b:Last"/>
  6408.             </xsl:call-template>
  6409.         </xsl:variable>
  6410.         
  6411.         <xsl:variable name="format">
  6412.             <xsl:choose>
  6413.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  6414.                 </xsl:when>
  6415.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  6416.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  6417.                 </xsl:when>
  6418.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  6419.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  6420.                 </xsl:when>
  6421.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  6422.                     <xsl:value-of select="$ML"/>
  6423.                 </xsl:when>
  6424.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  6425.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  6426.                 </xsl:when>
  6427.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  6428.                     <xsl:value-of select="$FL"/>
  6429.                 </xsl:when>
  6430.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  6431.                     <xsl:value-of select="$FM"/>
  6432.                 </xsl:when>
  6433.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  6434.                     <xsl:value-of select="$FML"/>
  6435.                 </xsl:when>
  6436.             </xsl:choose>
  6437.         </xsl:variable>
  6438.         
  6439.         <xsl:call-template name="StringFormatName">
  6440.             <xsl:with-param name="format" select="$format"/>
  6441.             <xsl:with-param name="upperLast" select="$upperLast"/>
  6442.             <xsl:with-param name="withDot" select="$withDot"/>
  6443.         </xsl:call-template>
  6444.         
  6445.     </xsl:template>
  6446.  
  6447.     <xsl:template name="formatDateCorePrivate">
  6448.         <xsl:param name="DMY"/>
  6449.         <xsl:param name="DM"/>
  6450.         <xsl:param name="MY"/>
  6451.         <xsl:param name="DY"/>
  6452.  
  6453.         <xsl:param name="day"/>
  6454.         <xsl:param name="month"/>
  6455.         <xsl:param name="year"/>
  6456.         
  6457.         <xsl:param name="withDot"/>
  6458.         
  6459.         <xsl:variable name="format">
  6460.             <xsl:choose>
  6461.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  6462.                 </xsl:when>
  6463.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  6464.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6465.                 </xsl:when>
  6466.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  6467.                 </xsl:when>
  6468.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  6469.                     <xsl:value-of select="$MY"/>
  6470.                 </xsl:when>
  6471.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  6472.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6473.                 </xsl:when>
  6474.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  6475.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6476.                 </xsl:when>
  6477.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  6478.                 </xsl:when>
  6479.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  6480.                     <xsl:value-of select="$DMY"/>
  6481.                 </xsl:when>
  6482.             </xsl:choose>
  6483.         </xsl:variable>
  6484.         
  6485.         <xsl:call-template name="StringFormatDate">
  6486.             <xsl:with-param name="format" select="$format"/>
  6487.  
  6488.             <xsl:with-param name="day" select="$day"/>
  6489.             <xsl:with-param name="month" select="$month"/>
  6490.             <xsl:with-param name="year" select="$year"/>
  6491.  
  6492.             <xsl:with-param name="withDot" select="$withDot"/>
  6493.         </xsl:call-template>
  6494.         
  6495.     </xsl:template>
  6496.  
  6497.     <xsl:template name="StringFormatName">
  6498.         <xsl:param name="format" />
  6499.         <xsl:param name="withDot" />
  6500.         <xsl:param name="upperLast"/>
  6501.  
  6502.     <xsl:variable name="prop_EndChars">
  6503.       <xsl:call-template name="templ_prop_EndChars"/>
  6504.     </xsl:variable>
  6505.  
  6506.     <xsl:choose>
  6507.             <xsl:when test="$format = ''"></xsl:when>
  6508.             <xsl:when test="substring($format, 1, 2) = '%%'">
  6509.                 <xsl:text>%</xsl:text>
  6510.                 <xsl:call-template name="StringFormatName">
  6511.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6512.                     <xsl:with-param name="withDot" select="$withDot" />
  6513.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6514.                 </xsl:call-template>
  6515.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  6516.                     <xsl:call-template name="templ_prop_Dot"/>
  6517.                 </xsl:if>
  6518.             </xsl:when>
  6519.             <xsl:when test="substring($format, 1, 1) = '%'">
  6520.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  6521.                 
  6522.                 <xsl:choose>
  6523.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  6524.                         <span style='text-transform: uppercase;'>
  6525.                             <xsl:call-template name="formatNameOneItem">
  6526.                                 <xsl:with-param name="format" select="$what"/>
  6527.                             </xsl:call-template>
  6528.                         </span>
  6529.                     </xsl:when>
  6530.                     <xsl:otherwise>
  6531.                         <xsl:call-template name="formatNameOneItem">
  6532.                             <xsl:with-param name="format" select="$what"/>
  6533.                         </xsl:call-template>
  6534.                     </xsl:otherwise>
  6535.                 </xsl:choose>
  6536.                 <xsl:call-template name="StringFormatName">
  6537.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6538.                     <xsl:with-param name="withDot" select="$withDot" />
  6539.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6540.                 </xsl:call-template>
  6541.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  6542.                     <xsl:variable name="temp2">
  6543.                         <xsl:call-template name="handleSpaces">
  6544.                             <xsl:with-param name="field">
  6545.                                 <xsl:call-template name="formatNameOneItem">
  6546.                                     <xsl:with-param name="format" select="$what"/>
  6547.                                 </xsl:call-template>
  6548.                             </xsl:with-param>
  6549.                         </xsl:call-template>
  6550.                     </xsl:variable>                
  6551.                     <xsl:variable name="lastChar">
  6552.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  6553.                     </xsl:variable>
  6554.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  6555.                         <xsl:call-template name="templ_prop_Dot"/>
  6556.                     </xsl:if>
  6557.                 </xsl:if>
  6558.             </xsl:when>
  6559.             <xsl:otherwise>
  6560.                 <xsl:value-of select="substring($format, 1, 1)" />
  6561.                 <xsl:call-template name="StringFormatName">
  6562.                     <xsl:with-param name="format" select="substring($format, 2)" />
  6563.                     <xsl:with-param name="withDot" select="$withDot" />
  6564.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6565.                 </xsl:call-template>
  6566.                 <xsl:if test="string-length($format)=1">
  6567.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  6568.                         <xsl:call-template name="templ_prop_Dot"/>
  6569.                     </xsl:if>
  6570.                 </xsl:if>
  6571.             </xsl:otherwise>
  6572.         </xsl:choose>
  6573.     </xsl:template>    
  6574.  
  6575.     <xsl:template name="StringFormatDate">
  6576.         <xsl:param name="format" />
  6577.         
  6578.         <xsl:param name="day"/>
  6579.         <xsl:param name="month"/>
  6580.         <xsl:param name="year"/>        
  6581.         
  6582.         <xsl:param name="withDot" />
  6583.  
  6584.     <xsl:variable name="prop_EndChars">
  6585.       <xsl:call-template name="templ_prop_EndChars"/>
  6586.     </xsl:variable>
  6587.  
  6588.     <xsl:choose>
  6589.             <xsl:when test="$format = ''"></xsl:when>
  6590.             <xsl:when test="substring($format, 1, 2) = '%%'">
  6591.                 <xsl:text>%</xsl:text>
  6592.                 <xsl:call-template name="StringFormatDate">
  6593.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6594.                     <xsl:with-param name="day" select="$day"/>
  6595.                     <xsl:with-param name="month" select="$month"/>
  6596.                     <xsl:with-param name="year" select="$year"/>
  6597.                     <xsl:with-param name="withDot" select="$withDot" />
  6598.                 </xsl:call-template>
  6599.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  6600.                     <xsl:call-template name="templ_prop_Dot"/>
  6601.                 </xsl:if>
  6602.             </xsl:when>
  6603.             <xsl:when test="substring($format, 1, 1) = '%'">
  6604.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  6605.                 <xsl:choose>
  6606.                     <xsl:when test="$what = 'D'">
  6607.                         <xsl:value-of select="$day"/>
  6608.                     </xsl:when>
  6609.                     <xsl:when test="$what = 'M'">
  6610.                         <xsl:value-of select="$month"/>
  6611.                     </xsl:when>
  6612.                     <xsl:when test="$what = 'Y'">
  6613.                         <xsl:value-of select="$year"/>
  6614.                     </xsl:when>
  6615.                 </xsl:choose>
  6616.                 <xsl:call-template name="StringFormatDate">
  6617.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6618.                     <xsl:with-param name="day" select="$day"/>
  6619.                     <xsl:with-param name="month" select="$month"/>
  6620.                     <xsl:with-param name="year" select="$year"/>
  6621.                     <xsl:with-param name="withDot" select="$withDot" />
  6622.                 </xsl:call-template>
  6623.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  6624.                     <xsl:variable name="temp2">
  6625.                         <xsl:call-template name="handleSpaces">
  6626.                             <xsl:with-param name="field">
  6627.                                 <xsl:call-template name="formatNameOneItem">
  6628.                                     <xsl:with-param name="format" select="$what"/>
  6629.                                 </xsl:call-template>
  6630.                             </xsl:with-param>
  6631.                         </xsl:call-template>
  6632.                     </xsl:variable>                
  6633.                     <xsl:variable name="lastChar">
  6634.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  6635.                     </xsl:variable>
  6636.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  6637.                         <xsl:call-template name="templ_prop_Dot"/>
  6638.                     </xsl:if>
  6639.                 </xsl:if>
  6640.             </xsl:when>
  6641.             <xsl:otherwise>
  6642.                 <xsl:value-of select="substring($format, 1, 1)" />
  6643.                 <xsl:call-template name="StringFormatDate">
  6644.                     <xsl:with-param name="format" select="substring($format, 2)" />
  6645.                     <xsl:with-param name="day" select="$day"/>
  6646.                     <xsl:with-param name="month" select="$month"/>
  6647.                     <xsl:with-param name="year" select="$year"/>
  6648.                     <xsl:with-param name="withDot" select="$withDot" />
  6649.                 </xsl:call-template>
  6650.                 <xsl:if test="string-length($format)=1">
  6651.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  6652.                         <xsl:call-template name="templ_prop_Dot"/>
  6653.                     </xsl:if>
  6654.                 </xsl:if>
  6655.             </xsl:otherwise>
  6656.         </xsl:choose>
  6657.     </xsl:template>    
  6658.     <xsl:template name="formatDateCore">
  6659.         <xsl:param name="day"/>
  6660.         <xsl:param name="month"/>
  6661.         <xsl:param name="year"/>
  6662.         <xsl:param name="displayND"/>
  6663.         
  6664.         <xsl:param name="DMY"/>
  6665.         <xsl:param name="DM"/>
  6666.         <xsl:param name="MY"/>
  6667.         <xsl:param name="DY"/>
  6668.     
  6669.         <xsl:choose>
  6670.             <xsl:when test="string-length($year)=0">
  6671.                 <xsl:if test="$displayND = 'yes'">
  6672.                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  6673.                 </xsl:if>
  6674.             </xsl:when>
  6675.             <xsl:otherwise>
  6676.                 <xsl:call-template name="formatDateCorePrivate">
  6677.                     <xsl:with-param name="day" select="$day"/>
  6678.                     <xsl:with-param name="month" select="$month"/>
  6679.                     <xsl:with-param name="year" select="$year"/>
  6680.                     
  6681.                     <xsl:with-param name="DMY" select="$DMY"/>
  6682.                     <xsl:with-param name="DM" select="$DM"/>
  6683.                     <xsl:with-param name="MY" select="$MY"/>
  6684.                     <xsl:with-param name="DY" select="$DY"/>
  6685.                 </xsl:call-template>
  6686.             </xsl:otherwise>
  6687.         </xsl:choose>
  6688.     
  6689.     </xsl:template>
  6690.  
  6691.     <xsl:template name="formatNameOneItem">
  6692.         <xsl:param name="format"/>
  6693.  
  6694.         <xsl:choose>
  6695.             <xsl:when test="$format = 'F'">
  6696.                 <xsl:value-of select="b:First"/>
  6697.             </xsl:when>
  6698.             <xsl:when test="$format = 'L'">
  6699.                 <xsl:value-of select="b:Last"/>
  6700.             </xsl:when>
  6701.             <xsl:when test="$format = 'M'">
  6702.                 <xsl:value-of select="b:Middle"/>
  6703.             </xsl:when>
  6704.             <xsl:when test="$format = 'f'">
  6705.                 <xsl:call-template name="formatNameInitial">
  6706.                     <xsl:with-param name="name" select="b:First"/>
  6707.                 </xsl:call-template>
  6708.             </xsl:when>
  6709.             <xsl:when test="$format = 'm'">
  6710.                 <xsl:call-template name="formatNameInitial">
  6711.                     <xsl:with-param name="name" select="b:Middle"/>
  6712.                 </xsl:call-template>
  6713.             </xsl:when>
  6714.             <xsl:when test="$format = 'l'">
  6715.                 <xsl:call-template name="formatNameInitial">
  6716.                     <xsl:with-param name="name" select="b:Last"/>
  6717.                 </xsl:call-template>
  6718.             </xsl:when>
  6719.         </xsl:choose>
  6720.  
  6721.     </xsl:template>
  6722.  
  6723.     <xsl:template name="formatNameInitial">
  6724.         <xsl:param name="name"/>
  6725.         <xsl:variable name="temp">
  6726.             <xsl:call-template name="handleSpaces">
  6727.                 <xsl:with-param name="field" select="$name"/>
  6728.             </xsl:call-template>
  6729.         </xsl:variable>
  6730.  
  6731.     <xsl:variable name="prop_APA_Hyphens">
  6732.       <xsl:call-template name="templ_prop_Hyphens"/>
  6733.     </xsl:variable>
  6734.  
  6735.     <xsl:if test="string-length($temp)>0">
  6736.  
  6737.             <xsl:variable name="tempWithoutSpaces">
  6738.                 <xsl:value-of select="translate($temp, '  ', '')"/>
  6739.             </xsl:variable>
  6740.  
  6741.             <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  6742.                 <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  6743.                 <xsl:call-template name="templ_prop_DotInitial"/>
  6744.             </xsl:if>
  6745.  
  6746.             <xsl:call-template name="handleHyphens">
  6747.                 <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  6748.             </xsl:call-template>
  6749.         </xsl:if>
  6750.     </xsl:template>
  6751.  
  6752.     <xsl:template name="handleHyphens">
  6753.         <xsl:param name="name"/>
  6754.  
  6755.     <xsl:variable name="prop_APA_Hyphens">
  6756.       <xsl:call-template name="templ_prop_Hyphens"/>
  6757.     </xsl:variable>
  6758.  
  6759.     <xsl:if test="string-length($name)>=2">
  6760.             <xsl:choose>
  6761.                 <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  6762.                     <xsl:value-of select="substring($name, 1, 2)"/>
  6763.                     <xsl:call-template name="templ_prop_DotInitial"/>
  6764.                     
  6765.                     <xsl:call-template name="handleHyphens">
  6766.                         <xsl:with-param name="name" select="substring($name, 3)"/>
  6767.                     </xsl:call-template>
  6768.                 </xsl:when>
  6769.                 
  6770.                 <xsl:otherwise>
  6771.                     <xsl:call-template name="handleHyphens">
  6772.                         <xsl:with-param name="name" select="substring($name, 2)"/>
  6773.                     </xsl:call-template>
  6774.                 </xsl:otherwise>
  6775.             </xsl:choose>
  6776.             
  6777.         </xsl:if>
  6778.  
  6779.     </xsl:template>
  6780.  
  6781.     
  6782. </xsl:stylesheet>
  6783.  
  6784.